diff options
author | pav <pav@FreeBSD.org> | 2004-11-24 20:19:08 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-11-24 20:19:08 +0000 |
commit | 860126663dc25a931acfe81e33b8e82702b1c997 (patch) | |
tree | 21901c195a65a512a00b4c4d96c371af9f7c382b /textproc/libxml2 | |
parent | b7ca09d0f95543485f1546e0dc12701b7e31d5ee (diff) | |
download | FreeBSD-ports-860126663dc25a931acfe81e33b8e82702b1c997.zip FreeBSD-ports-860126663dc25a931acfe81e33b8e82702b1c997.tar.gz |
- Change tunables from OPTIONS to plain make defines. Too many users
subconsciously enabled THREADS knob and ended with breakages later.
The last straw: Adam McLaurin <adam.mclaurin@gmx.net>
Approved by: FreeBSD/GNOME cabal
Diffstat (limited to 'textproc/libxml2')
-rw-r--r-- | textproc/libxml2/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile index 2e79898..0b428b0 100644 --- a/textproc/libxml2/Makefile +++ b/textproc/libxml2/Makefile @@ -4,6 +4,12 @@ # # $FreeBSD$ # +# WITH_THREADS enable pthread support (WILL BREAK OTHER PORTS!) +# WITHOUT_SCHEMA disable XML schema support +# WITH_MEM_DEBUG enable memory debugging (DEVELOPERS ONLY!) +# WITH_XMLLINT_HIST enable history for xmllint +# WITH_THREAD_ALLOC enable per-thread memory (DEVELOPERS ONLY!) +# PORTNAME= libxml2 PORTVERSION= 2.6.16 @@ -32,16 +38,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ .if !defined(MASTERDIR) MAN1= xml2-config.1 xmllint.1 xmlcatalog.1 MAN3= libxml.3 - -OPTIONS= THREADS "Enable pthread support (MAY BREAK OTHER PORTS!)" off \ - SCHEMA "Enable XML schema support" on \ - MEM_DEBUG "Enable memory debugging (DEVELOPERS ONLY!)" off \ - XMLLINT_HIST "Enable history for xmllint" off \ - THREAD_ALLOC "Enable per-thread memory (DEVELOPERS ONLY!)" off .endif -.include <bsd.port.pre.mk> - .if defined(WITH_THREADS) CONFIGURE_ARGS+= --with-threads .else @@ -68,4 +66,4 @@ post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/catalog.c ${WRKSRC}/xmlcatalog.c -.include <bsd.port.post.mk> +.include <bsd.port.mk> |