summary refs log tree commit diff
path: root/pkgs/development/interpreters/perl-5.8
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/interpreters/perl-5.8')
-rw-r--r--pkgs/development/interpreters/perl-5.8/builder.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/development/interpreters/perl-5.8/builder.sh b/pkgs/development/interpreters/perl-5.8/builder.sh
index 500de901e174b..79458b3249b60 100644
--- a/pkgs/development/interpreters/perl-5.8/builder.sh
+++ b/pkgs/development/interpreters/perl-5.8/builder.sh
@@ -1,12 +1,8 @@
 source $stdenv/setup
 
 if test "$NIX_ENFORCE_PURITY" = "1"; then
-    case $system in
-        *-linux)  LIBC=$(cat $NIX_GCC/nix-support/orig-libc) ;;
-        *-darwin) LIBC=/usr ;;
-        *)        echo unsupported system $system; exit 1 ;;
-    esac
-    extraflags="-Dlocincpth=$LIBC/include -Dloclibpth=$LIBC/lib"
+    GLIBC=$(cat $NIX_GCC/nix-support/orig-libc)
+    extraflags="-Dlocincpth=$GLIBC/include -Dloclibpth=$GLIBC/lib"
 fi
 
 configureScript=./Configure