diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2003-09-19 07:03:18 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2003-09-19 07:03:18 +0000 |
commit | c5247eba1591bd2ab41b3370980f7c0ea9d5ea35 (patch) | |
tree | 634485dee202390b93b8ffae5f7bbc25a43bdf46 /net | |
parent | - Fix build (diff) |
Fix build with ancient version of perl (5.005).
Pointed out by: kris
Notes
Notes:
svn path=/head/; revision=89067
Diffstat (limited to 'net')
-rw-r--r-- | net/p5-Net-Z3950/files/patch-yazwrap-Makefile.PL | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net/p5-Net-Z3950/files/patch-yazwrap-Makefile.PL b/net/p5-Net-Z3950/files/patch-yazwrap-Makefile.PL new file mode 100644 index 000000000000..f1c804bfd08c --- /dev/null +++ b/net/p5-Net-Z3950/files/patch-yazwrap-Makefile.PL @@ -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 |