diff options
author | marcus <marcus@FreeBSD.org> | 2003-04-29 16:19:49 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-04-29 16:19:49 +0000 |
commit | a35d9a076f1aed566390fdabf5cc0e1f732923bd (patch) | |
tree | 690ed0b67bca65925fbb380ef4c645b2f8c9fef8 /textproc/libxml2 | |
parent | 43d904e0e3abc195e840535c5c7299b09916518e (diff) | |
download | FreeBSD-ports-a35d9a076f1aed566390fdabf5cc0e1f732923bd.zip FreeBSD-ports-a35d9a076f1aed566390fdabf5cc0e1f732923bd.tar.gz |
Add a flag to allow one to disable threading support. Setting
LIBXML_WITHOUT_THREADS can fix build problems with apps such as PHP.
Diffstat (limited to 'textproc/libxml2')
-rw-r--r-- | textproc/libxml2/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile index fac3cec..8d8bb15 100644 --- a/textproc/libxml2/Makefile +++ b/textproc/libxml2/Makefile @@ -42,6 +42,10 @@ PLIST_SUB+= PYTHON:="@comment " PKGNAMESUFFIX= -nopython .endif +.if defined(LIBXML_WITHOUT_THREADS) +CONFIGURE_ARGS+= --without-threads +.endif + .if defined(WITH_SCHEMA) CONFIGURE_ARGS+= --with-schemas .endif @@ -63,6 +67,7 @@ pre-everything:: @${ECHO_MSG} "libxml2 has the following tunables:" @${ECHO_MSG} "" @${ECHO_MSG} " WITHOUT_PYTHON=yes Turns off Python support" + @${ECHO_MSG} " LIBXML_WITHOUT_THREADS=yes Turns off pthread support" @${ECHO_MSG} " WITH_SCHEMA=yes Turns on XML Schema support" @${ECHO_MSG} " WITH_MEM_DEBUG=yes Turns on memory debugging" @${ECHO_MSG} " WITH_XMLLINT_HIST=yes Turns on history for xmllint" |