summaryrefslogtreecommitdiffstats
path: root/textproc/libxslt
diff options
context:
space:
mode:
authorseanc <seanc@FreeBSD.org>2002-09-18 19:18:25 +0000
committerseanc <seanc@FreeBSD.org>2002-09-18 19:18:25 +0000
commita2dc83e3182aee8e20881b04d11da488762921aa (patch)
tree77a55d9c247977682a19f41119f94c73ba29d8d8 /textproc/libxslt
parenta2761841b604a4e2dd934249fcbae6a15fa8ec68 (diff)
downloadFreeBSD-ports-a2dc83e3182aee8e20881b04d11da488762921aa.zip
FreeBSD-ports-a2dc83e3182aee8e20881b04d11da488762921aa.tar.gz
Add tunable to aid in debugging memory problems
Approved by: knu (mentor) && marcus
Diffstat (limited to 'textproc/libxslt')
-rw-r--r--textproc/libxslt/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile
index dabf5f2..f98a8a8 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>
OpenPOWER on IntegriCloud