diff options
author | miwi <miwi@FreeBSD.org> | 2009-08-07 06:25:18 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2009-08-07 06:25:18 +0800 |
commit | 23943e54224f9269b64a79ce72a920a0da27f71e (patch) | |
tree | 84a20bd5027ca318d8d7ac0a4c976bfcabe41f93 /math/p5-Math-GSL/files | |
parent | 681b811dd18f8ef3d3ddb88f5ead8476c19beb7e (diff) | |
download | freebsd-ports-gnome-23943e54224f9269b64a79ce72a920a0da27f71e.tar.gz freebsd-ports-gnome-23943e54224f9269b64a79ce72a920a0da27f71e.tar.zst freebsd-ports-gnome-23943e54224f9269b64a79ce72a920a0da27f71e.zip |
- Fix build
PR: 137454
Submitted by: Earl Gay <earl@eeg3.net>
Approved by: maintainer
Diffstat (limited to 'math/p5-Math-GSL/files')
-rw-r--r-- | math/p5-Math-GSL/files/patch-inc-GSLBuilder.pm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/math/p5-Math-GSL/files/patch-inc-GSLBuilder.pm b/math/p5-Math-GSL/files/patch-inc-GSLBuilder.pm new file mode 100644 index 000000000000..15aa764a4e72 --- /dev/null +++ b/math/p5-Math-GSL/files/patch-inc-GSLBuilder.pm @@ -0,0 +1,17 @@ +Copy the attached patch to: files/patch-inc-GSLBuilder.pm + +Patch attached with submission follows: + +--- inc/GSLBuilder.pm 2009-05-20 02:50:44.000000000 -0400 ++++ inc/GSLBuilder.pm 2009-08-04 20:15:57.000000000 -0400 +@@ -154,7 +154,7 @@ + + $cf->{installarchlib} = $Config{archlib}; + +- my @include_dirs = @{$p->{include_dirs}} ++ my @include_dirs = ( @{$p->{include_dirs}} && ( ${@{$p->{include_dirs}}}[0] ne "" ) ) + ? map {"-I$_"} (@{$p->{include_dirs}}, catdir($cf->{installarchlib}, 'CORE')) + : map {"-I$_"} ( catdir($cf->{installarchlib}, 'CORE') ) ; + + + |