|
Lines 1-14
Link Here
|
| 1 |
--- Makefile.PL.orig 2010-11-17 13:51:38.000000000 +0100 |
1 |
--- Makefile.PL.orig 2011-10-23 12:27:21.000000000 +0200 |
| 2 |
+++ Makefile.PL 2010-11-17 13:59:54.000000000 +0100 |
2 |
+++ Makefile.PL 2017-06-03 21:50:44.801687000 +0200 |
| 3 |
@@ -71,11 +71,6 @@ |
3 |
@@ -68,13 +68,8 @@ |
|
|
4 |
next if ! -f $libfile; |
| 5 |
my $include_path = $possible_install_paths{$install_path}; |
| 6 |
foreach my $c_header(@c_header_files) { |
| 7 |
- if (-f "$include_path/$c_header") { |
| 8 |
+ if (-f "$include_path/js-1.7/$c_header") { |
| 9 |
my $include_dir = "$include_path/$c_header"; |
| 10 |
- $include_dir =~ s/$c_header$//; |
| 11 |
- push @JS_INCL_DIRS, $include_dir; |
| 12 |
- } |
| 13 |
- foreach my $headerfile(glob "$include_path/*/$c_header") { |
| 14 |
- my $include_dir = $headerfile; |
| 4 |
$include_dir =~ s/$c_header$//; |
15 |
$include_dir =~ s/$c_header$//; |
| 5 |
push @JS_INCL_DIRS, $include_dir; |
16 |
push @JS_INCL_DIRS, $include_dir; |
| 6 |
} |
17 |
} |
| 7 |
- foreach my $headerfile(glob "$include_path/*/$c_header") { |
|
|
| 8 |
- my $include_dir = $headerfile; |
| 9 |
- $include_dir =~ s/$c_header$//; |
| 10 |
- push @JS_INCL_DIRS, $include_dir; |
| 11 |
- } |
| 12 |
} |
| 13 |
if (scalar(@JS_INCL_DIRS) == scalar(@c_header_files)) { |
| 14 |
$JS_LIB_DIR = $libfile; |