diff options
author | hubertf <hubertf@pkgsrc.org> | 2001-10-16 00:22:04 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 2001-10-16 00:22:04 +0000 |
commit | b4404f763ad1a41fdd239da1d17605c4167878d9 (patch) | |
tree | c22c9696e220d154e60c1263519e16a6efc90061 /textproc | |
parent | 4b971524f922fc1b03dd6d27b75d09507172a5f2 (diff) | |
download | pkgsrc-b4404f763ad1a41fdd239da1d17605c4167878d9.tar.gz |
Fix previous problem (libexpat looked for in libpth dir, and of course
not found if pth is not installed) differently: look in $Config{prefix}/lib
first.
Patch mailed to the perl folks (perl-xml@lyris.activestate.com)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/p5-XML-Parser/Makefile | 6 | ||||
-rw-r--r-- | textproc/p5-XML-Parser/distinfo | 3 | ||||
-rw-r--r-- | textproc/p5-XML-Parser/patches/patch-aa | 14 |
3 files changed, 18 insertions, 5 deletions
diff --git a/textproc/p5-XML-Parser/Makefile b/textproc/p5-XML-Parser/Makefile index 6c7df66e738..ef060c77ee7 100644 --- a/textproc/p5-XML-Parser/Makefile +++ b/textproc/p5-XML-Parser/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2001/10/16 00:03:50 hubertf Exp $ +# $NetBSD: Makefile,v 1.10 2001/10/16 00:22:04 hubertf Exp $ # DISTNAME= XML-Parser.2.30 @@ -15,9 +15,7 @@ USE_PERL5= # defined PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/XML/Parser/.packlist do-configure: - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \ - EXPATLIBPATH=${LOCALBASE}/lib \ - EXPATINCPATH=${LOCALBASE}/include + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL .include "../../textproc/expat/buildlink.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/p5-XML-Parser/distinfo b/textproc/p5-XML-Parser/distinfo index 16d80c034b9..da61a9d72a1 100644 --- a/textproc/p5-XML-Parser/distinfo +++ b/textproc/p5-XML-Parser/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.3 2001/04/27 17:49:43 wiz Exp $ +$NetBSD: distinfo,v 1.4 2001/10/16 00:22:04 hubertf Exp $ SHA1 (XML-Parser.2.30.tar.gz) = 1626c959e40446b5c71ce9d4477bc862b6c4ea07 Size (XML-Parser.2.30.tar.gz) = 254911 bytes +SHA1 (patch-aa) = f8f863d1016547d4f7e177a6d2b7d63089c5a403 diff --git a/textproc/p5-XML-Parser/patches/patch-aa b/textproc/p5-XML-Parser/patches/patch-aa new file mode 100644 index 00000000000..5a2de9a2e42 --- /dev/null +++ b/textproc/p5-XML-Parser/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.1 2001/10/16 00:22:04 hubertf Exp $ + +--- Makefile.PL.orig Wed Oct 4 18:49:11 2000 ++++ Makefile.PL Tue Oct 16 02:17:09 2001 +@@ -25,7 +25,8 @@ + unless ($expat_libpath) { + # Test for existence of libexpat + my $found = 0; +- foreach (split(/\s+/, $Config{libpth})) { ++ # HF: look in the perl base dir too, as libpth may not be installed: ++ foreach ( $Config{prefix} . "/lib" , split(/\s+/, $Config{libpth})) { + if (-f "$_/libexpat." . $Config{so}) { + $found = 1; + last; |