mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 10:26:28 -04:00
Fix build with ancient version of perl (5.005).
Pointed out by: kris
This commit is contained in:
parent
1368c5d84c
commit
c5247eba15
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89067
1 changed files with 19 additions and 0 deletions
19
net/p5-Net-Z3950/files/patch-yazwrap-Makefile.PL
Normal file
19
net/p5-Net-Z3950/files/patch-yazwrap-Makefile.PL
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- yazwrap/Makefile.PL.orig Tue May 6 17:59:59 2003
|
||||
+++ yazwrap/Makefile.PL Fri Sep 19 10:57:34 2003
|
||||
@@ -1,8 +1,15 @@
|
||||
+my $yazinc = `yaz-config --cflags`;
|
||||
+my $yazlibs = `yaz-config --libs`;
|
||||
+if (!$yazinc || !$yazlibs) {
|
||||
+ die "ERROR: Unable to call script 'yaz-config': is YAZ installed?";
|
||||
+}
|
||||
+
|
||||
use ExtUtils::MakeMaker;
|
||||
-$Verbose = 1;
|
||||
|
||||
WriteMakefile(
|
||||
'NAME' => 'Net::Z3950::yazwrap',
|
||||
+ 'LIBS' => [ $yazlibs ],
|
||||
+ 'INC' => $yazinc,
|
||||
'SKIP' => [qw(all static dynamic test)],
|
||||
'clean' => {'FILES' => 'libyazwrap$(LIB_EXT)'},
|
||||
'OPTIMIZE' => '-g', ### temporary
|
Loading…
Add table
Reference in a new issue