1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Fix build

PR:		137454
Submitted by:	Earl Gay <earl@eeg3.net>
Approved by:	maintainer
This commit is contained in:
Martin Wilke 2009-08-06 22:25:18 +00:00
parent 605752183c
commit e666abf20a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239050

View File

@ -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') ) ;