From c254f44ddfe50bc71dc95092c3c3cc8227deb8f2 Mon Sep 17 00:00:00 2001 From: hubertf Date: Tue, 16 Oct 2001 00:03:50 +0000 Subject: 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. --- textproc/p5-XML-Parser/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'textproc') 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" -- cgit v1.2.3