1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/lang/perl5.16/files/patch-ac
Maxim Sobolev b169298681 Add a new `WITH_THREADS' option to build perl with support for threads and
fix threaded build on 5.x.

Approved by:	maintainer
2003-04-01 12:29:12 +00:00

39 lines
883 B
Plaintext

$FreeBSD$
--- hints/freebsd.sh.orig Sat Jun 1 20:03:12 2002
+++ hints/freebsd.sh Tue Apr 1 14:17:18 2003
@@ -98,6 +98,13 @@
;;
esac
libswanted=`echo $libswanted | sed 's/ malloc / /'`
+ libswanted=`echo $libswanted | sed 's/ bind / /'`
+ libswanted=`echo $libswanted | sed 's/ iconv / /'`
+ d_setregid='define'
+ d_setreuid='define'
+ d_setegid='define'
+ d_seteuid='define'
+ d_dosuid='define'
;;
esac
@@ -124,7 +131,7 @@
fi
lddlflags='-Bshareable'
fi
- cccdlflags='-DPIC -fpic'
+ cccdlflags='-DPIC -fPIC'
;;
esac
@@ -223,6 +230,9 @@
4.*) # 4.x has gethostbyaddr_r but it is
# "Temporary function, not threadsafe"...
d_gethostbyaddr_r="undef"
+ d_gethostbyaddr_r_proto="undef"
+ ;;
+ 5.*) d_gethostbyaddr_r="undef"
d_gethostbyaddr_r_proto="undef"
;;
esac