145e87fb36
2.40 2010-09-16 (by Alexandr Ciornii) - Add windows-1251.enc, ibm866.enc, koi8-r.enc (Russian) - Add windows-1255.enc (Hebrew) - Update iso-8859-7.enc (RT#40712) - Use Devel::CheckLib - Better description of expat packages - Better Perl style in both code and docs
14 lines
556 B
Text
14 lines
556 B
Text
$NetBSD: patch-aa,v 1.2 2010/09/19 11:07:12 wiz Exp $
|
|
|
|
--- Makefile.PL.orig 2010-09-15 21:49:46.000000000 +0000
|
|
+++ Makefile.PL
|
|
@@ -75,7 +75,8 @@ if (not $expat_libpath and $] >= 5.00600
|
|
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}) {
|
|
$expat_libpath=$_;
|
|
$found = 1;
|