summaryrefslogtreecommitdiffstats
path: root/lang/perl5/files/patch-ac
blob: 41b4b73fb67ad646108351e4faa77e8750d3b3aa (plain)
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
$FreeBSD$

--- hints/freebsd.sh.orig	Sun Jul 28 09:37:51 2002
+++ hints/freebsd.sh	Sun Jul 28 09:39:23 2002
@@ -85,10 +85,20 @@
 	d_setreuid='define'
 	d_setegid='undef'
 	d_seteuid='undef'
+	d_dosuid='define'
 	;;
 *)	usevfork='true'
-	usemymalloc='n'
+	case "$usemymalloc" in
+	    "") usemymalloc='n'
+	    ;;
+	esac
 	libswanted=`echo $libswanted | sed 's/ malloc / /'`
+ 	libswanted=`echo $libswanted | sed 's/ bind / /'`
+	d_setregid='define'
+	d_setreuid='define'
+	d_setegid='undef'
+	d_seteuid='undef'
+	d_dosuid='define'
 	;;
 esac
 
@@ -115,7 +125,8 @@
             fi
             lddlflags='-Bshareable'
         fi
-        cccdlflags='-DPIC -fpic'
+        cccdlflags='-DPIC -fPIC'
+        libswanted=`echo $libswanted | sed 's/ iconv / /'`
         ;;
 esac
OpenPOWER on IntegriCloud