aboutsummaryrefslogtreecommitdiff
path: root/lang/p5-JavaScript-SpiderMonkey
diff options
context:
space:
mode:
Diffstat (limited to 'lang/p5-JavaScript-SpiderMonkey')
-rw-r--r--lang/p5-JavaScript-SpiderMonkey/files/patch-Makefile.PL14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/p5-JavaScript-SpiderMonkey/files/patch-Makefile.PL b/lang/p5-JavaScript-SpiderMonkey/files/patch-Makefile.PL
new file mode 100644
index 000000000000..ff6543e5e2bd
--- /dev/null
+++ b/lang/p5-JavaScript-SpiderMonkey/files/patch-Makefile.PL
@@ -0,0 +1,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;