summaryrefslogtreecommitdiff
path: root/lang/perl5-devel/files/patch-hints_freebsd.sh
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-12-05 13:41:09 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-12-05 13:41:09 +0000
commitdafedeb58df7051d711d7fa0ce7e387a3db49b3b (patch)
treec569048284adcf5cf5c1dfaeacb439264ba7b2fa /lang/perl5-devel/files/patch-hints_freebsd.sh
parent- Mark DEPRECATED and set EXPIRATION_DATE to 2016-12-31 (diff)
Update to v5.25.7-52-ga14be3e.
Remove the PTHREAD option, and the special handling in hints/freebsd.sh. Also, stop making THREADS and PERL_MALLOC exclusive options. Changes: https://github.com/Perl/perl5/compare/v5.25.7-26-g7332835...v5.25.7-52-ga14be3e Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=427891
Diffstat (limited to 'lang/perl5-devel/files/patch-hints_freebsd.sh')
-rw-r--r--lang/perl5-devel/files/patch-hints_freebsd.sh31
1 files changed, 1 insertions, 30 deletions
diff --git a/lang/perl5-devel/files/patch-hints_freebsd.sh b/lang/perl5-devel/files/patch-hints_freebsd.sh
index ad822d326369..b2e822054214 100644
--- a/lang/perl5-devel/files/patch-hints_freebsd.sh
+++ b/lang/perl5-devel/files/patch-hints_freebsd.sh
@@ -1,4 +1,4 @@
---- hints/freebsd.sh.orig 2015-04-15 07:47:18 UTC
+--- hints/freebsd.sh.orig 2016-12-05 10:28:13 UTC
+++ hints/freebsd.sh
@@ -88,6 +88,8 @@ case "$osvers" in
esac
@@ -20,32 +20,3 @@
;;
esac
-@@ -126,7 +132,7 @@ case "$osvers" in
- else
- libpth="/usr/lib /usr/local/lib"
- glibpth="/usr/lib /usr/local/lib"
-- ldflags="-Wl,-E "
-+ ldflags="%%PTHREAD_LIBS%% -Wl,-E "
- lddlflags="-shared "
- fi
- cccdlflags='-DPIC -fPIC'
-@@ -134,7 +140,7 @@ case "$osvers" in
- *)
- libpth="/usr/lib /usr/local/lib"
- glibpth="/usr/lib /usr/local/lib"
-- ldflags="-Wl,-E "
-+ ldflags="%%PTHREAD_LIBS%% -Wl,-E "
- lddlflags="-shared "
- cccdlflags='-DPIC -fPIC'
- ;;
-@@ -191,7 +197,9 @@ esac
-
- # This script UU/usethreads.cbu will get 'called-back' by Configure
- # after it has prompted the user for whether to use threads.
--cat > UU/usethreads.cbu <<'EOCBU'
-+## not quite - modern FreeBSD perl port is supposed to take care of that
-+## we just add extra libraries and cflags nowadays
-+cat > /dev/null <<'EOCBU'
- case "$usethreads" in
- $define|true|[yY]*)
- lc_r=`/sbin/ldconfig -r|grep ':-lc_r'|awk '{print $NF}'|sed -n '$p'`