summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2010-11-29 22:14:25 +0000
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2010-11-29 22:14:25 +0000
commitceac08d31e451a6c38e90b0438d90faa777ca77c (patch)
treeb6ed65cf58e88eb55e45bcc2a76c1f32a96e78f0
parent15e6cdd91beb4cefae4b65e855d68cf64766965d (diff)
downloadperl-ceac08d31e451a6c38e90b0438d90faa777ca77c.tar.gz
Change the default for usemymalloc to 'n' for NetBSD
It should not be the default, it isn't the default when perl is built in pkgsrc and from personal experience using perl's malloc as the default is to enter a world of pain and suffering.
-rw-r--r--hints/netbsd.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/hints/netbsd.sh b/hints/netbsd.sh
index 9e7a4e2205..d196418229 100644
--- a/hints/netbsd.sh
+++ b/hints/netbsd.sh
@@ -221,3 +221,12 @@ case `uname -m` in
sparc) d_semctl_semid_ds=undef ;;
esac
+# malloc wrap works
+case "$usemallocwrap" in
+'') usemallocwrap='define' ;;
+esac
+
+# don't use perl malloc by default
+case "$usemymalloc" in
+'') usemymalloc=n ;;
+esac