aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorseanc <seanc@FreeBSD.org>2002-09-19 03:18:25 +0800
committerseanc <seanc@FreeBSD.org>2002-09-19 03:18:25 +0800
commita2dc83e3182aee8e20881b04d11da488762921aa (patch)
tree77a55d9c247977682a19f41119f94c73ba29d8d8 /textproc
parenta2761841b604a4e2dd934249fcbae6a15fa8ec68 (diff)
downloadfreebsd-ports-gnome-a2dc83e3182aee8e20881b04d11da488762921aa.tar.gz
freebsd-ports-gnome-a2dc83e3182aee8e20881b04d11da488762921aa.tar.zst
freebsd-ports-gnome-a2dc83e3182aee8e20881b04d11da488762921aa.zip
Add tunable to aid in debugging memory problems
Approved by: knu (mentor) && marcus
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libxslt/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile
index dabf5f24f65f..f98a8a80293d 100644
--- a/textproc/libxslt/Makefile
+++ b/textproc/libxslt/Makefile
@@ -35,11 +35,16 @@ PLIST_SUB+= PYTHON:="@comment "
PKGNAMESUFFIX= -nopython
.endif
-.if !defined(WITHOUT_PYTHON)
-pre-extract:
+.if defined(WITH_MEM_DEBUG)
+CONFIGURE_ARGS+= --with-mem-debug
+.endif
+
+pre-everything::
@${ECHO_MSG} ""
- @${ECHO_MSG} "If you don't want Python support, add WITHOUT_PYTHON=yes to command line"
+ @${ECHO_MSG} "libxslt has several tunables:"
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} " WITHOUT_PYTHON=yes Turns off python support"
+ @${ECHO_MSG} " WITH_MEM_DEBUG=yes Turns on memory debugging"
@${ECHO_MSG} ""
-.endif
.include <bsd.port.mk>