mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-08 03:44:13 -04:00
15 lines
556 B
Plaintext
15 lines
556 B
Plaintext
$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;
|