* Set PERL5LIB automatically in the Perl setup hook.
* Remove explicit setting of PERL5LIB. * Use the generic Perl builder for the BerkeleyDB and XML::Parser modules. * Prefix all names of Perl modules with `perl-' (in the generic Perl builder). svn path=/nixpkgs/trunk/; revision=2365
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
addPerlLibPath () {
|
||||
if test -d $1/lib/site_perl; then
|
||||
export PERL5LIB="${PERL5LIB}${PERL5LIB:+:}$1/lib/site_perl"
|
||||
fi
|
||||
}
|
||||
|
||||
envHooks=(${envHooks[@]} addPerlLibPath)
|
||||
Reference in New Issue
Block a user