aboutsummaryrefslogtreecommitdiff
path: root/textproc/libxslt
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2010-06-02 14:29:15 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2010-06-02 14:29:15 +0000
commit6cc0014f33abdffc8eff1e20a2988256664bcb61 (patch)
tree5d748cdf8089ffb10fa0f4477ba29a7d8cdece28 /textproc/libxslt
parentdfd351e676524b324445e95f6ff6ae6d4a8ed891 (diff)
downloadports-6cc0014f33abdffc8eff1e20a2988256664bcb61.tar.gz
ports-6cc0014f33abdffc8eff1e20a2988256664bcb61.zip
Gettext is only required in the crypto path.
Reported by: Claude Buisson <clbuisson@orange.fr>
Notes
Notes: svn path=/head/; revision=255531
Diffstat (limited to 'textproc/libxslt')
-rw-r--r--textproc/libxslt/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile
index 01d7be1a5f02..35a938406caa 100644
--- a/textproc/libxslt/Makefile
+++ b/textproc/libxslt/Makefile
@@ -20,11 +20,10 @@ COMMENT?= The XSLT C library for GNOME
.if !defined(REFERENCE_PORT)
USE_GMAKE= yes
-USE_GETTEXT= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_GNOME?= gnomehack gnometarget libxml2
-CONFIGURE_ARGS?= --with-html-dir=${PREFIX}/share/doc \
+CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc \
--without-python
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@@ -47,6 +46,7 @@ CONFIGURE_ARGS+= --with-mem-debug
.if defined(WITH_CRYPTO)
LIB_DEPENDS+= gcrypt.16:${PORTSDIR}/security/libgcrypt
+USE_GETTEXT= yes
.else
CONFIGURE_ARGS+=--without-crypto
.endif