diff options
-rw-r--r-- | textproc/libxslt/Makefile | 13 |
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> |