ports/lang/perl5.16/files/patch-Configure
Sergey Skvortsov 491a15ba69 - Fix generation of '+CONTENTS' file for 'bsdpan-*' packages [1]
- Don't remove '/usr/local/lib' from path $libpth
  if this dir does not exist [2]

PR:		ports/116908 [1]
Submitted by:	Steve Wills <steve@mouf.net> [1],
		Kukushkin Konstantin <dark@ramtel.ru> [2]
2010-07-14 17:24:21 +00:00

11 lines
314 B
Text

--- Configure.orig 2010-07-14 15:28:45.000000000 +0000
+++ Configure 2010-07-14 15:29:23.000000000 +0000
@@ -4780,7 +4780,7 @@
libpth=''
for xxx in $dlist
do
- if $test -d $xxx; then
+ if $test -d $xxx || [ $xxx = $prefix/lib ]; then
case " $libpth " in
*" $xxx "*) ;;
*) libpth="$libpth $xxx";;