* lib/site_perl -> lib/perl5/site_perl.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15258
This commit is contained in:
@@ -11,10 +11,11 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ perl ];
|
||||
|
||||
# First install the `File::MMagic' Perl module.
|
||||
# !!! this shouldn't refer to Perl 5.10.0!
|
||||
preConfigure = ''
|
||||
( cd File-MMagic && \
|
||||
perl Makefile.PL \
|
||||
LIB="$out/lib/site_perl/5.10.0" \
|
||||
LIB="$out/lib/perl5/site_perl/5.10.0" \
|
||||
INSTALLSITEMAN3DIR="$out/man" && \
|
||||
make && make install )
|
||||
export PERL5LIB="$out/lib/site_perl/5.10.0:$PERL5LIB"
|
||||
|
||||
Reference in New Issue
Block a user