summaryrefslogtreecommitdiff
path: root/textproc/p5-XML-Parser
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-10-16 00:03:50 +0000
committerhubertf <hubertf@pkgsrc.org>2001-10-16 00:03:50 +0000
commit4b971524f922fc1b03dd6d27b75d09507172a5f2 (patch)
tree9e9959726808c568ec82e84b5c935c05270b5737 /textproc/p5-XML-Parser
parentff639ea59515e34e61bb06877d38e5d002ef2d1d (diff)
downloadpkgsrc-4b971524f922fc1b03dd6d27b75d09507172a5f2.tar.gz
Makefile.PL looks for libpth when it really wants to look for libexpat.
Seems that's not set in %Config either, though (esp. when you don't have pth installed 8-). Fix path to expat by passing EXPATLIBPATH and EXPATINCPATH to the Makefile.PL.
Diffstat (limited to 'textproc/p5-XML-Parser')
-rw-r--r--textproc/p5-XML-Parser/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/p5-XML-Parser/Makefile b/textproc/p5-XML-Parser/Makefile
index 67a591105da..6c7df66e738 100644
--- a/textproc/p5-XML-Parser/Makefile
+++ b/textproc/p5-XML-Parser/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2001/10/03 10:02:52 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2001/10/16 00:03:50 hubertf Exp $
#
DISTNAME= XML-Parser.2.30
@@ -15,7 +15,9 @@ USE_PERL5= # defined
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/XML/Parser/.packlist
do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
+ EXPATLIBPATH=${LOCALBASE}/lib \
+ EXPATINCPATH=${LOCALBASE}/include
.include "../../textproc/expat/buildlink.mk"
.include "../../mk/bsd.pkg.mk"