summaryrefslogtreecommitdiff
path: root/lang/perl5.32/files/patch-hints_freebsd.sh
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2020-06-08 14:08:29 +0000
committerMathieu Arnold <mat@FreeBSD.org>2020-06-08 14:08:29 +0000
commit8af4c266571b37ffd783a909b527e562607cc690 (patch)
treee6c81592def17d8b8f3c3af99ca53006cf965f68 /lang/perl5.32/files/patch-hints_freebsd.sh
parentUpdate `sysutils/cpuid2cpuflags' to version 10. (diff)
Add Perl 5.32.0-RC1.
Diffstat (limited to 'lang/perl5.32/files/patch-hints_freebsd.sh')
-rw-r--r--lang/perl5.32/files/patch-hints_freebsd.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/lang/perl5.32/files/patch-hints_freebsd.sh b/lang/perl5.32/files/patch-hints_freebsd.sh
new file mode 100644
index 000000000000..efcbcfea109d
--- /dev/null
+++ b/lang/perl5.32/files/patch-hints_freebsd.sh
@@ -0,0 +1,24 @@
+Remove libs that are not here on FreeBSD.
+
+--- hints/freebsd.sh.orig 2016-12-05 10:28:13 UTC
++++ hints/freebsd.sh
+@@ -88,6 +88,8 @@ 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/ c / /'`
+ # 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 +104,10 @@ 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 / /'`
++ libswanted=`echo $libswanted | sed 's/ c / /'`
+ ;;
+ esac
+