summaryrefslogtreecommitdiff
path: root/lang/perl5/files/patch-ac
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2002-06-02 21:22:25 +0000
committerAnton Berezin <tobez@FreeBSD.org>2002-06-02 21:22:25 +0000
commit900f4721931b59dc6aae3fd0d33d29d48426ac5c (patch)
tree62956cae9f47cbeb00b2643981b3884987d5b7a6 /lang/perl5/files/patch-ac
parentAdd missing includes for CURRENT (diff)
Put SITEARCH and SITELIB paths in front of ARCHLIB and PRIVLIB in the
@INC array. This takes care of the infamous problem of updating the packages already in the perl distribution. With this change, no tricks are any longer necessary for such p5 ports, except the usual tweaking of INSTALLDIRS in Makefile.PL. This last one can also be taken care of by an appropriate BSDPAN modifications, but until we have the `natural' @INC order in the 4.X base system perl, it is meaningless. Do not include iconv.h and do not link with libiconv. Iconv is not used by perl in any way currently, but it used to link it if found. Fix perl on freebsd/sparc64. PR: 33212 (iconv), 37605 (iconv), 38813 (sparc64) Reported by: Vivek Khera <khera@kciLink.com> (iconv), Martin Nilsson <martin@gneto.com> (iconv) Submitted by: jake (sparc64)
Notes
Notes: svn path=/head/; revision=60490
Diffstat (limited to 'lang/perl5/files/patch-ac')
-rw-r--r--lang/perl5/files/patch-ac15
1 files changed, 13 insertions, 2 deletions
diff --git a/lang/perl5/files/patch-ac b/lang/perl5/files/patch-ac
index aa988cdd7394..3a0c07565832 100644
--- a/lang/perl5/files/patch-ac
+++ b/lang/perl5/files/patch-ac
@@ -1,5 +1,7 @@
---- hints/freebsd.sh.ORIG Tue Apr 10 20:24:51 2001
-+++ hints/freebsd.sh Tue Apr 10 20:27:45 2001
+$FreeBSD$
+
+--- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001
++++ hints/freebsd.sh Sat Jun 1 23:41:18 2002
@@ -85,10 +85,16 @@
d_setreuid='define'
d_setegid='undef'
@@ -17,3 +19,12 @@
;;
esac
+@@ -115,7 +121,8 @@
+ fi
+ lddlflags='-Bshareable'
+ fi
+- cccdlflags='-DPIC -fpic'
++ cccdlflags='-DPIC -fPIC'
++ libswanted=`echo $libswanted | sed 's/ iconv / /'`
+ ;;
+ esac