summaryrefslogtreecommitdiff
path: root/lang/perl5.14/files
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2010-07-23 17:41:04 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2010-07-23 17:41:04 +0000
commitcc9986cdcffea4ed1bdc6b032323bbab8449bf6e (patch)
tree47e64d4cb345f0f75237d4565b745e0aad2f51e0 /lang/perl5.14/files
parent- Update to 1.6.2 (diff)
[1] Unbreak build with THREADS option
[2] Remove SUIDPERL option: SUID emulation has been removed for 5.12 PR: ports/148648 [1] Submitted by: Andrei Lavreniyuk <andy.lavr@gmail.com> [1] WWW: http://search.cpan.org/~jesse/perl-5.12.1/pod/perl5120delta.pod#Deprecations [2]
Notes
Notes: svn path=/head/; revision=258104
Diffstat (limited to 'lang/perl5.14/files')
-rw-r--r--lang/perl5.14/files/patch-freebsd.sh13
1 files changed, 11 insertions, 2 deletions
diff --git a/lang/perl5.14/files/patch-freebsd.sh b/lang/perl5.14/files/patch-freebsd.sh
index 4587e5338e7f..42dd19c79b8c 100644
--- a/lang/perl5.14/files/patch-freebsd.sh
+++ b/lang/perl5.14/files/patch-freebsd.sh
@@ -29,7 +29,16 @@
lddlflags="-shared "
fi
cccdlflags='-DPIC -fPIC'
-@@ -136,7 +142,7 @@
+@@ -133,7 +139,7 @@
+ *)
+ 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'
+ ;;
+@@ -143,7 +149,7 @@
0*|1*|2*|3*) ;;
*)
@@ -38,7 +47,7 @@
if /usr/bin/file -L /usr/lib/libc.so | /usr/bin/grep -vq "not stripped" ; then
usenm=false
fi
-@@ -183,7 +189,9 @@
+@@ -190,7 +196,9 @@
# This script UU/usethreads.cbu will get 'called-back' by Configure
# after it has prompted the user for whether to use threads.