Changeset 8867
- Timestamp:
- Sep 21, 2006, 12:44:14 PM (20 years ago)
- Location:
- trunk/psconfig
- Files:
-
- 3 added
- 1 edited
-
psbuild (added)
-
psconfig.sh (modified) (3 diffs)
-
tagsets (added)
-
tagsets/ippHead (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psconfig/psconfig.sh
r6875 r8867 52 52 if ($?LD_LIBRARY_PATH == 0) setenv LD_LIBRARY_PATH 53 53 if ($?PKG_CONFIG_PATH == 0) setenv PKG_CONFIG_PATH 54 if ($?PERL5LIB == 0) setenv LD_LIBRARY_PATH 54 55 55 56 # identify system architecture … … 156 157 endif 157 158 159 set plibdir = {$PSCONFDIR}/{$PSCONFIG}/lib 160 set newpath = "" 161 set pathlist = `echo $PERL5LIB | tr ':' '\n'` 162 foreach name ($pathlist) 163 echo $name | grep $PSCONFDIR > /dev/null 164 if ($status == 0) continue 165 if ($newpath == "") then 166 set newpath = {$name}: 167 else 168 set newpath = {$newpath}{$name}: 169 endif 170 end 171 if ("$PSCONFIG" == "none") then 172 if ("$newpath" == "") then 173 unsetenv PERL5LIB 174 else 175 setenv PERL5LIB {$newpath} 176 endif 177 else 178 if ("$newpath" == "") then 179 setenv PERL5LIB {$plibdir}: 180 else 181 setenv PERL5LIB {$plibdir}:{$newpath} 182 endif 183 endif 184 158 185 set newpath = "" 159 186 set pathlist = `echo $PKG_CONFIG_PATH | tr ':' '\n'` … … 184 211 alias psconfigure configure 185 212 alias psautogen autogen.sh 213 alias psperlbuild perl Build.PL 186 214 else 187 215 alias psconfigure configure --bindir=$bindir --libdir=$libdir --includedir={$PSCONFDIR}/{$PSCONFIG}/include --sysconfdir={$PSCONFDIR}/{$PSCONFIG}/etc --datadir={$PSCONFDIR}/share --mandir={$PSCONFDIR}/man 188 216 alias psautogen autogen.sh --bindir=$bindir --libdir=$libdir --includedir={$PSCONFDIR}/{$PSCONFIG}/include --sysconfdir={$PSCONFDIR}/{$PSCONFIG}/etc --datadir={$PSCONFDIR}/share --mandir={$PSCONFDIR}/man 189 endif 217 alias psperlbuild perl Build.PL --install_path script=$bindir --install_path lib=$libdir --install_path bindoc={$PSCONFDIR}/man/man1 --install_path libdoc={$PSCONFDIR}/man/man3 218 endif
Note:
See TracChangeset
for help on using the changeset viewer.
