summary refs log tree commit diff
path: root/pkgs/development/perl-modules/generic
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/perl-modules/generic')
-rw-r--r--pkgs/development/perl-modules/generic/builder.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/perl-modules/generic/builder.sh b/pkgs/development/perl-modules/generic/builder.sh
index a3ad77bb25c..12407f6e09b 100644
--- a/pkgs/development/perl-modules/generic/builder.sh
+++ b/pkgs/development/perl-modules/generic/builder.sh
@@ -11,9 +11,12 @@ done
 IFS=$oldIFS
 echo "Perl flags: $perlFlags"
 
+oldPreConfigure="$preConfigure"
 preConfigure=preConfigure
 preConfigure() {
 
+    eval "$oldPreConfigure"
+
     find . | while read fn; do
         if test -f "$fn"; then
             first=$(dd if="$fn" count=2 bs=1 2> /dev/null)