summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-10-16 00:03:50 +0000
committerhubertf <hubertf>2001-10-16 00:03:50 +0000
commit2d23623fa297e3e951b1b1567b5057d42df8d6a9 (patch)
tree9e9959726808c568ec82e84b5c935c05270b5737 /textproc
parent1074a25f36b6e50f32320d96e4d9253025122556 (diff)
downloadpkgsrc-2d23623fa297e3e951b1b1567b5057d42df8d6a9.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')
-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"