nixpkgs/pkgs/development/interpreters/perl/builder.sh
Eelco Dolstra 4211520f76 * Removed impurity in Perl (if certain libraries were present in
/usr/lib, it would find them, then fail when using them; maybe this
  is a regression introduced when we upgraded to 5.8.5?).
* Remove some retained dependencies in Perl (on ar and sed). 

svn path=/nixpkgs/trunk/; revision=1538
2004-10-04 10:49:47 +00:00

12 lines
331 B
Bash

. $stdenv/setup
if test "$NIX_ENFORCE_PURITY" = "1" -a -n "$NIX_STORE"; then
GLIBC=$(cat $NIX_GCC/nix-support/orig-glibc)
extraflags="-Dlocincpth=$GLIBC/include -Dloclibpth=$GLIBC/lib"
fi
configureScript=./Configure
configureFlags="-de -Dcc=gcc -Dprefix=$out -Uinstallusrbinperl $extraflags"
dontAddPrefix=1
genericBuild