aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2011-11-06 01:50:37 +0800
committermiwi <miwi@FreeBSD.org>2011-11-06 01:50:37 +0800
commit41fd4fd9751ac3ca0302adae004eb022258a7969 (patch)
tree57031b618cd8fb376176d96c84e899c8cd376efd /lang
parent049ed13677ffe5a45f8034ba757ffb063f03a888 (diff)
downloadfreebsd-ports-gnome-41fd4fd9751ac3ca0302adae004eb022258a7969.tar.gz
freebsd-ports-gnome-41fd4fd9751ac3ca0302adae004eb022258a7969.tar.zst
freebsd-ports-gnome-41fd4fd9751ac3ca0302adae004eb022258a7969.zip
- Unbreak on FreeBSD 10
Diffstat (limited to 'lang')
-rw-r--r--lang/perl5.8/files/patch-freebsd.sh-freebsd1030
1 files changed, 30 insertions, 0 deletions
diff --git a/lang/perl5.8/files/patch-freebsd.sh-freebsd10 b/lang/perl5.8/files/patch-freebsd.sh-freebsd10
new file mode 100644
index 000000000000..8d9ec63d4235
--- /dev/null
+++ b/lang/perl5.8/files/patch-freebsd.sh-freebsd10
@@ -0,0 +1,30 @@
+--- hints/freebsd.sh.orig2 2011-10-09 13:30:37.000000000 +0000
++++ hints/freebsd.sh 2011-10-09 14:12:48.000000000 +0000
+@@ -116,7 +116,8 @@
+ case "$osvers" in
+ 0.*|1.0*) ;;
+
+-1*|2*) cccdlflags='-DPIC -fpic'
++1.*|2.*)
++ cccdlflags='-DPIC -fpic'
+ lddlflags="-Bshareable $lddlflags"
+ ;;
+
+@@ -139,7 +140,7 @@
+ esac
+
+ case "$osvers" in
+-0*|1*|2*|3*) ;;
++0.*|1.*|2.*|3.*) ;;
+
+ *)
+ ccflags="${ccflags} -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H"
+@@ -196,7 +197,7 @@
+ $define|true|[yY]*)
+ lc_r=`/sbin/ldconfig -r|grep ':-lc_r'|awk '{print $NF}'|sed -n '$p'`
+ case "$osvers" in
+- 0*|1*|2.0*|2.1*) cat <<EOM >&4
++ 0.*|1.*|2.0*|2.1*) cat <<EOM >&4
+ I did not know that FreeBSD $osvers supports POSIX threads.
+
+ Feel free to tell perlbug@perl.org otherwise. \ No newline at end of file