Date: Tue, 30 Oct 2007 15:43:46 -0700 (PDT) From: Yen-Ming Lee <leeym@leeym.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: demon@FreeBSD.org Subject: ports/117694: [PATCH] net/p5-Net-Z3950: unbreak Message-ID: <200710302243.l9UMhkMk064509@db1.leeym.com> Resent-Message-ID: <200710302250.l9UMo36a009670@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 117694 >Category: ports >Synopsis: [PATCH] net/p5-Net-Z3950: unbreak >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Oct 30 22:50:02 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD db1.leeym.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 >Description: - unbreak p5-Net-Z3950 Added file(s): - files/patch-Makefile.PL Removed file(s): - files/patch-yazwrap-Makefile.PL Port maintainer (demon@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-Net-Z3950-0.51.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/net/p5-Net-Z3950/Makefile,v retrieving revision 1.18 diff -u -u -r1.18 Makefile --- Makefile 8 Sep 2007 01:02:46 -0000 1.18 +++ Makefile 30 Oct 2007 22:39:21 -0000 @@ -19,10 +19,7 @@ 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 \ Index: files/patch-Makefile.PL =================================================================== RCS file: files/patch-Makefile.PL diff -N files/patch-Makefile.PL --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-Makefile.PL 30 Oct 2007 22:39:21 -0000 @@ -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?"; Index: files/patch-yazwrap-Makefile.PL =================================================================== RCS file: files/patch-yazwrap-Makefile.PL diff -N files/patch-yazwrap-Makefile.PL --- files/patch-yazwrap-Makefile.PL 19 Sep 2003 07:03:18 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -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 --- p5-Net-Z3950-0.51.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710302243.l9UMhkMk064509>