summaryrefslogtreecommitdiff
path: root/lang/perl5.8/files/patch-freebsd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lang/perl5.8/files/patch-freebsd.sh')
-rw-r--r--lang/perl5.8/files/patch-freebsd.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/lang/perl5.8/files/patch-freebsd.sh b/lang/perl5.8/files/patch-freebsd.sh
new file mode 100644
index 000000000000..68ec6d4cd8a1
--- /dev/null
+++ b/lang/perl5.8/files/patch-freebsd.sh
@@ -0,0 +1,20 @@
+--- hints/freebsd.sh.orig Sun May 30 17:55:47 2004
++++ hints/freebsd.sh Sun May 30 17:57:16 2004
+@@ -88,6 +88,7 @@ case "$osvers" in
+ esac
+ libswanted=`echo $libswanted | sed 's/ malloc / /'`
+ libswanted=`echo $libswanted | sed 's/ bind / /'`
++ libswanted=`echo $libswanted | sed 's/ dl / /'`
+ # iconv gone in Perl 5.8.1, but if someone compiles 5.8.0 or earlier.
+ libswanted=`echo $libswanted | sed 's/ iconv / /'`
+ d_setregid='define'
+@@ -102,6 +103,9 @@ case "$osvers" in
+ ;;
+ esac
+ libswanted=`echo $libswanted | sed 's/ malloc / /'`
++ libswanted=`echo $libswanted | sed 's/ bind / /'`
++ libswanted=`echo $libswanted | sed 's/ dl / /'`
++ libswanted=`echo $libswanted | sed 's/ iconv / /'`
+ ;;
+ esac
+