Some setup-hooks with new syntax; pkgconfig upgraded to 0.22

svn path=/nixpkgs/trunk/; revision=9645
This commit is contained in:
Yury G. Kudryashov
2007-11-11 20:32:43 +00:00
parent bfe435ebaf
commit 16b44ea14d
7 changed files with 16 additions and 28 deletions
@@ -1,7 +1,5 @@
addPerlLibPath () {
if test -d $1/lib/site_perl; then
export PERL5LIB="${PERL5LIB}${PERL5LIB:+:}$1/lib/site_perl"
fi
addToSearchPath PERL5LIB /lib/site_perl "" $1
}
envHooks=(${envHooks[@]} addPerlLibPath)