diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2007-12-12 14:17:09 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2007-12-12 14:17:09 +0000 |
commit | 00038b0f95ad11b73f37bf89e7798ba4dcd66b1d (patch) | |
tree | 0fb4afd1d4391f69a43d7879c5dbdcfaa7517cd0 /net | |
parent | - Update to version 4.24. (diff) |
Unbreak.
PR: 117694
Submitted by: leeym
Notes
Notes:
svn path=/head/; revision=203309
Diffstat (limited to 'net')
-rw-r--r-- | net/p5-Net-Z3950/Makefile | 3 | ||||
-rw-r--r-- | net/p5-Net-Z3950/files/patch-Makefile.PL | 11 | ||||
-rw-r--r-- | net/p5-Net-Z3950/files/patch-yazwrap-Makefile.PL | 19 |
3 files changed, 11 insertions, 22 deletions
diff --git a/net/p5-Net-Z3950/Makefile b/net/p5-Net-Z3950/Makefile index 3fbbbf1b9210..fc9b7a1f218b 100644 --- a/net/p5-Net-Z3950/Makefile +++ b/net/p5-Net-Z3950/Makefile @@ -19,10 +19,7 @@ LIB_DEPENDS= yaz.2:${PORTSDIR}/net/yaz RUN_DEPENDS= ${SITE_PERL}/MARC/Record.pm:${PORTSDIR}/textproc/p5-MARC-Record \ ${SITE_PERL}/${PERL_ARCH}/Event.pm:${PORTSDIR}/devel/p5-Event -BROKEN= Does not build - PERL_CONFIGURE= yes -CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} MAN3= Net::Z3950::ResultSet.3 Net::Z3950::Manager.3 \ Net::Z3950::Tutorial.3 Net::Z3950::Record.3 \ diff --git a/net/p5-Net-Z3950/files/patch-Makefile.PL b/net/p5-Net-Z3950/files/patch-Makefile.PL new file mode 100644 index 000000000000..057758f42c36 --- /dev/null +++ b/net/p5-Net-Z3950/files/patch-Makefile.PL @@ -0,0 +1,11 @@ +--- Makefile.PL.orig 2007-10-30 15:18:30.000000000 -0700 ++++ Makefile.PL 2007-10-30 15:18:48.000000000 -0700 +@@ -6,7 +6,7 @@ + # my $yazconf = "/home/me/stuff/yaz-2.0.4/yaz-config"; + + my $yazconf = "yaz-config"; +-my $yazinc = `$yazconf --cflags`; ++my $yazinc = `$yazconf --cflags | sed 's/ -pthread / /'`; + my $yazlibs = `$yazconf --libs`; + if (!$yazinc || !$yazlibs) { + die "ERROR: Unable to call script 'yaz-config': is YAZ installed?"; diff --git a/net/p5-Net-Z3950/files/patch-yazwrap-Makefile.PL b/net/p5-Net-Z3950/files/patch-yazwrap-Makefile.PL deleted file mode 100644 index f1c804bfd08c..000000000000 --- a/net/p5-Net-Z3950/files/patch-yazwrap-Makefile.PL +++ /dev/null @@ -1,19 +0,0 @@ ---- 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 |