diff options
author | marcus <marcus@FreeBSD.org> | 2004-02-24 02:37:41 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-02-24 02:37:41 +0800 |
commit | 922e18b0eed6d49af0f1d13597434eb832628bd0 (patch) | |
tree | 6fa6c5d8ca3c3b52357bd16740c5fdca9673f858 /textproc | |
parent | 14815a0c51c5cd0eb26c8e82752a547d97dc0a22 (diff) | |
download | freebsd-ports-gnome-922e18b0eed6d49af0f1d13597434eb832628bd0.tar.gz freebsd-ports-gnome-922e18b0eed6d49af0f1d13597434eb832628bd0.tar.zst freebsd-ports-gnome-922e18b0eed6d49af0f1d13597434eb832628bd0.zip |
* Update to 2.6.7
* Use OPTIONS where it's feasible
* Use USE_ICONV
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/libxml2/Makefile | 22 | ||||
-rw-r--r-- | textproc/libxml2/distinfo | 4 |
2 files changed, 14 insertions, 12 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile index efd616aa0dc3..31e27b93814f 100644 --- a/textproc/libxml2/Makefile +++ b/textproc/libxml2/Makefile @@ -6,7 +6,7 @@ # PORTNAME= libxml2 -PORTVERSION= 2.6.6 +PORTVERSION= 2.6.7 CATEGORIES= textproc gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.6 @@ -15,10 +15,9 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Xml parser library for GNOME -LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv - USE_BZIP2= yes USE_GMAKE= yes +USE_ICONV= yes GNU_CONFIGURE= yes USE_GNOME= gnomehack gnometarget pkgconfig INSTALLS_SHLIB= yes @@ -31,6 +30,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ MAN1= xml2-config.1 xmllint.1 xmlcatalog.1 MAN3= libxml.3 +OPTIONS= THREADS "Enable pthread support" 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 + .if !defined(WITHOUT_PYTHON) USE_PYTHON= yes PLIST_SUB+= PYTHON:="" @@ -41,6 +46,8 @@ PLIST_SUB+= PYTHON:="@comment " PKGNAMESUFFIX= -nopython .endif +.include <bsd.port.pre.mk> + .if defined(WITH_THREADS) CONFIGURE_ARGS+= --with-threads .else @@ -65,14 +72,9 @@ CONFIGURE_ARGS+= --with-thread-alloc pre-everything:: @${ECHO_MSG} "" - @${ECHO_MSG} "libxml2 has the following tunables:" + @${ECHO_MSG} "libxml2 has the following additional tunables:" @${ECHO_MSG} "" @${ECHO_MSG} " WITHOUT_PYTHON=yes Turns off Python support" - @${ECHO_MSG} " WITH_THREADS=yes Turns on pthread support" - @${ECHO_MSG} " WITHOUT_SCHEMA=yes Turns off XML Schema support" - @${ECHO_MSG} " WITH_MEM_DEBUG=yes Turns on memory debugging (DEVELOPERS ONLY!)" - @${ECHO_MSG} " WITH_XMLLINT_HIST=yes Turns on history for xmllint" - @${ECHO_MSG} " WITH_THREAD_ALLOC=yes Turns on per-thread memory (DEVELOPERS ONLY!)" @${ECHO_MSG} "" post-patch: @@ -85,4 +87,4 @@ post-install: @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -l ${PYTHON_SITELIBDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/textproc/libxml2/distinfo b/textproc/libxml2/distinfo index 6fea161ed4b5..ea6c5036dd8c 100644 --- a/textproc/libxml2/distinfo +++ b/textproc/libxml2/distinfo @@ -1,2 +1,2 @@ -MD5 (gnome2/libxml2-2.6.6.tar.bz2) = 4aa5c05a92302b50d9a87e7c84527a8e -SIZE (gnome2/libxml2-2.6.6.tar.bz2) = 2652415 +MD5 (gnome2/libxml2-2.6.7.tar.bz2) = bdbef92cbdc5b4bd0365313ba22b75ce +SIZE (gnome2/libxml2-2.6.7.tar.bz2) = 2651941 |