From 09fdc375e2efa3bd84f7de5501ace2134b80f03c Mon Sep 17 00:00:00 2001 From: Anton Berezin Date: Sun, 28 Jul 2002 08:25:07 +0000 Subject: 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 (WITH_GDBM) --- lang/perl5.6/files/patch-ac | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'lang/perl5.6/files/patch-ac') diff --git a/lang/perl5.6/files/patch-ac b/lang/perl5.6/files/patch-ac index c9cfeb9ba5a0..41b4b73fb67a 100644 --- a/lang/perl5.6/files/patch-ac +++ b/lang/perl5.6/files/patch-ac @@ -1,15 +1,19 @@ $FreeBSD$ ---- hints/freebsd.sh.orig Sun Apr 8 06:09:16 2001 -+++ hints/freebsd.sh Sat Jun 1 23:41:18 2002 -@@ -85,10 +85,17 @@ +--- 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' +- usemymalloc='n' ++ case "$usemymalloc" in ++ "") usemymalloc='n' ++ ;; ++ esac libswanted=`echo $libswanted | sed 's/ malloc / /'` + libswanted=`echo $libswanted | sed 's/ bind / /'` + d_setregid='define' @@ -20,7 +24,7 @@ $FreeBSD$ ;; esac -@@ -115,7 +121,8 @@ +@@ -115,7 +125,8 @@ fi lddlflags='-Bshareable' fi -- cgit v1.2.3