pkgsrc/lang/perl5/patches/patch-aa
jlam 2eea86c397 Update perl to 5.6.1nb4. Changes from version 5.6.1nb3 include:
* Ensure that shared objects/libraries created by perl Makefiles include
  the correct run-time library search path by also including the local
  libraries directories.  For example, shared objects are linked on ELF
  platforms with "cc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib", and not just
  "cc -L/usr/pkg/lib" as before.
2001-10-01 07:05:10 +00:00

36 lines
699 B
Text

$NetBSD: patch-aa,v 1.22 2001/10/01 07:05:11 jlam Exp $
--- Configure.orig Sun Mar 18 22:03:33 2001
+++ Configure
@@ -6598,7 +6598,7 @@
esac
for thisflag in $ldflags; do
case "$thisflag" in
- -L*|-R*)
+ -L*|-R*|-Wl,-R*)
case " $dflt " in
*" $thisflag "*) ;;
*) dflt="$dflt $thisflag" ;;
@@ -6807,9 +6807,12 @@
aix)
# We'll set it in Makefile.SH...
;;
- solaris|netbsd)
+ solaris)
xxx="-R $shrpdir"
;;
+ netbsd)
+ xxx="-Wl,-R$shrpdir"
+ ;;
freebsd)
xxx="-Wl,-R$shrpdir"
;;
@@ -14719,7 +14722,7 @@
eval $inhdr
: see if this is a ieeefp.h system
-set ieeefp.h i_ieeefp
+set machine/ieeefp.h i_ieeefp
eval $inhdr
: see if this is a libutil.h system