summaryrefslogtreecommitdiff
path: root/lang/p5-JavaScript-SpiderMonkey/files/patch-Makefile.PL
blob: ff6543e5e2bd93785cbdc10747480f0c9d7ddcd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- Makefile.PL.orig	2010-11-17 13:51:38.000000000 +0100
+++ Makefile.PL	2010-11-17 13:59:54.000000000 +0100
@@ -71,11 +71,6 @@
           $include_dir =~ s/$c_header$//;
           push @JS_INCL_DIRS, $include_dir;
         }
-        foreach my $headerfile(glob "$include_path/*/$c_header") {
-          my $include_dir = $headerfile;
-          $include_dir =~ s/$c_header$//;
-          push @JS_INCL_DIRS, $include_dir;
-        }
       }
       if (scalar(@JS_INCL_DIRS) == scalar(@c_header_files)) {
         $JS_LIB_DIR = $libfile;