aboutsummaryrefslogtreecommitdiff
path: root/lang/perl5.6/files
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2002-07-28 08:25:07 +0000
committerAnton Berezin <tobez@FreeBSD.org>2002-07-28 08:25:07 +0000
commit09fdc375e2efa3bd84f7de5501ace2134b80f03c (patch)
treee099ae3086e34a0058381aeee4c9c1b88f86712b /lang/perl5.6/files
parent45adf4b055fc9064cbc5d35bc31359ce00cb4aab (diff)
downloadports-09fdc375e2efa3bd84f7de5501ace2134b80f03c.tar.gz
ports-09fdc375e2efa3bd84f7de5501ace2134b80f03c.zip
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)
Notes
Notes: svn path=/head/; revision=63660
Diffstat (limited to 'lang/perl5.6/files')
-rw-r--r--lang/perl5.6/files/patch-ac14
1 files changed, 9 insertions, 5 deletions
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