aboutsummaryrefslogtreecommitdiff
path: root/lang/perl5.16/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.16/files
parent86fd2edcebd16804bca478e181a397dc14841bb7 (diff)
downloadports-cc9986cdcffea4ed1bdc6b032323bbab8449bf6e.tar.gz
ports-cc9986cdcffea4ed1bdc6b032323bbab8449bf6e.zip
Notes
Diffstat (limited to 'lang/perl5.16/files')
-rw-r--r--lang/perl5.16/files/patch-freebsd.sh13
1 files changed, 11 insertions, 2 deletions
diff --git a/lang/perl5.16/files/patch-freebsd.sh b/lang/perl5.16/files/patch-freebsd.sh
index 4587e5338e7f..42dd19c79b8c 100644
--- a/lang/perl5.16/files/patch-freebsd.sh
+++ b/lang/perl5.16/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.