summaryrefslogtreecommitdiff
path: root/textproc/libxslt
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2002-09-18 19:18:25 +0000
committerSean Chittenden <seanc@FreeBSD.org>2002-09-18 19:18:25 +0000
commit4484f81540fe6a1804680a40560c84144a09ae31 (patch)
treecb5317ca65529aec1cdb7de8f4b0b1955a750ab0 /textproc/libxslt
parentAdd various tunables to aid developers using libxml2, most notably adding (diff)
Add tunable to aid in debugging memory problems
Approved by: knu (mentor) && marcus
Notes
Notes: svn path=/head/; revision=66634
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 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>