pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/p5-XML-LibXML Fix linkage.
details: https://anonhg.NetBSD.org/pkgsrc/rev/5a50e6b554bf
branches: trunk
changeset: 635413:5a50e6b554bf
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Jun 05 09:24:48 2014 +0000
description:
Fix linkage.
The so was not linked against libxml2, breaking the module completely.
Bump PKGREVISION.
diffstat:
textproc/p5-XML-LibXML/Makefile | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r e9899c9cb40d -r 5a50e6b554bf textproc/p5-XML-LibXML/Makefile
--- a/textproc/p5-XML-LibXML/Makefile Thu Jun 05 08:15:34 2014 +0000
+++ b/textproc/p5-XML-LibXML/Makefile Thu Jun 05 09:24:48 2014 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.53 2014/05/29 23:37:46 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2014/06/05 09:24:48 wiz Exp $
DISTNAME= XML-LibXML-2.0116
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
SVR4_PKGNAME= p5xlx
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=XML/}
@@ -23,7 +23,8 @@
CONFLICTS+= p5-XML-LibXML-XPathContext-[0-9]*
MAKE_ENV+= SKIP_SAX_INSTALL=1 # Must be done in the INSTALL script
-MAKE_PARAMS+= INC="-I${LOCALBASE}/include/libxml2"
+MAKE_PARAMS+= INC="-I${BUILDLINK_PREFIX.libxml2}/include/libxml2"
+MAKE_PARAMS+= LIBS="-L${BUILDLINK_PREFIX.libxml2}/lib ${LINKER_RPATH_FLAG}${BUILDLINK_PREFIX.libxml2}/lib -lxml2"
PERL5_PACKLIST= auto/XML/LibXML/.packlist
FILES_SUBST+= PERL5_INSTALLVENDORLIB=${PERL5_INSTALLVENDORLIB:Q}
Home |
Main Index |
Thread Index |
Old Index