freebsd-ports/lang/p5-JavaScript-SpiderMonkey/files/patch-Makefile.PL
Tilman Keskinoz 2c6d7bf741 Comment out lines in Makefile.PL to fix generation of Makefile
PR:		150563
Submitted by:	pe <freethread.sw@gmail.com>
2010-11-17 13:03:36 +00:00

14 lines
541 B
Perl

--- 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;