From cc9986cdcffea4ed1bdc6b032323bbab8449bf6e Mon Sep 17 00:00:00 2001 From: Sergey Skvortsov Date: Fri, 23 Jul 2010 17:41:04 +0000 Subject: [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 [1] WWW: http://search.cpan.org/~jesse/perl-5.12.1/pod/perl5120delta.pod#Deprecations [2] --- lang/perl5.12/files/patch-freebsd.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'lang/perl5.12/files/patch-freebsd.sh') diff --git a/lang/perl5.12/files/patch-freebsd.sh b/lang/perl5.12/files/patch-freebsd.sh index 4587e5338e7f..42dd19c79b8c 100644 --- a/lang/perl5.12/files/patch-freebsd.sh +++ b/lang/perl5.12/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. -- cgit v1.2.3