diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-04-29 16:19:49 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-04-29 16:19:49 +0000 |
commit | 43b22956784ddbe4c77467591d72cc979345c126 (patch) | |
tree | 9e09a8c73722e3f7a7a3c40b8cdd669bc4af85c5 /textproc/libxml2 | |
parent | a459d01547d22acdcdb45c68a49b6afae6792310 (diff) | |
download | ports-43b22956784ddbe4c77467591d72cc979345c126.tar.gz ports-43b22956784ddbe4c77467591d72cc979345c126.zip |
Add a flag to allow one to disable threading support. Setting
LIBXML_WITHOUT_THREADS can fix build problems with apps such as PHP.
Notes
Notes:
svn path=/head/; revision=79881
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 fac3ceccc983..8d8bb15ee49e 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" |