mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Unbreak.
PR: 117694 Submitted by: leeym
This commit is contained in:
parent
5f7109e9ef
commit
00038b0f95
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=203309
3 changed files with 11 additions and 22 deletions
|
@ -19,10 +19,7 @@ LIB_DEPENDS= yaz.2:${PORTSDIR}/net/yaz
|
||||||
RUN_DEPENDS= ${SITE_PERL}/MARC/Record.pm:${PORTSDIR}/textproc/p5-MARC-Record \
|
RUN_DEPENDS= ${SITE_PERL}/MARC/Record.pm:${PORTSDIR}/textproc/p5-MARC-Record \
|
||||||
${SITE_PERL}/${PERL_ARCH}/Event.pm:${PORTSDIR}/devel/p5-Event
|
${SITE_PERL}/${PERL_ARCH}/Event.pm:${PORTSDIR}/devel/p5-Event
|
||||||
|
|
||||||
BROKEN= Does not build
|
|
||||||
|
|
||||||
PERL_CONFIGURE= yes
|
PERL_CONFIGURE= yes
|
||||||
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
|
|
||||||
|
|
||||||
MAN3= Net::Z3950::ResultSet.3 Net::Z3950::Manager.3 \
|
MAN3= Net::Z3950::ResultSet.3 Net::Z3950::Manager.3 \
|
||||||
Net::Z3950::Tutorial.3 Net::Z3950::Record.3 \
|
Net::Z3950::Tutorial.3 Net::Z3950::Record.3 \
|
||||||
|
|
11
net/p5-Net-Z3950/files/patch-Makefile.PL
Normal file
11
net/p5-Net-Z3950/files/patch-Makefile.PL
Normal file
|
@ -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?";
|
|
@ -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
|
|
Loading…
Add table
Reference in a new issue