freebsd-ports/lang/perl5-devel/files/patch-hints_freebsd.sh
Mathieu Arnold dafedeb58d Update to v5.25.7-52-ga14be3e.
Remove the PTHREAD option, and the special handling in hints/freebsd.sh.
Also, stop making THREADS and PERL_MALLOC exclusive options.

Changes:	https://github.com/Perl/perl5/compare/v5.25.7-26-g7332835...v5.25.7-52-ga14be3e
Sponsored by:	Absolight
2016-12-05 13:41:09 +00:00

22 lines
796 B
Bash

--- 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