$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;