* lib/site_perl -> lib/perl5/site_perl.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15258
This commit is contained in:
Eelco Dolstra
2009-04-22 23:04:18 +00:00
parent 9609437573
commit 7ec61219db
6 changed files with 13 additions and 9 deletions
+2 -1
View File
@@ -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"