freebsd-ports/lang/perl5/files/patch-ac
Anton Berezin 09fdc375e2 Add two knobs:
WITH_PERL_MALLOC - to compile with perl's own malloc, as opposed to the
freebsd system malloc.  Some might find this useful, since perl's malloc
is marginally faster in typical cases, and orders of magnitude faster in
degenerate cases.  Use with care.

WITH_GDBM - to compile with gdbm support.

Requested by:	netchild (WITH_PERL_MALLOC),
		Joachim Leidinger <jojo@blackpoint.de> (WITH_GDBM)
2002-07-28 08:25:07 +00:00

35 lines
775 B
Text

$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