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/p5-XML-Parser/patches | |
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/p5-XML-Parser/patches')
-rw-r--r-- | textproc/p5-XML-Parser/patches/patch-aa | 14 |
1 files changed, 14 insertions, 0 deletions
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; |