summaryrefslogtreecommitdiff
path: root/lang/perl5.16/files/patch-ac
blob: f7255c5d354c6b7a34518b0d5badf705808e6e18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$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