aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-25 18:25:23 +0800
committerbapt <bapt@FreeBSD.org>2014-04-25 18:25:23 +0800
commit0248400a3ff1dbc4f464301edd0ddf08a6025e59 (patch)
tree9383e009d34ae95c74c3dec043950a17252a2e27
parentd6ed8c8533ca8b5415baa0e512239416cbd1e024 (diff)
downloadfreebsd-ports-gnome-0248400a3ff1dbc4f464301edd0ddf08a6025e59.tar.gz
freebsd-ports-gnome-0248400a3ff1dbc4f464301edd0ddf08a6025e59.tar.zst
freebsd-ports-gnome-0248400a3ff1dbc4f464301edd0ddf08a6025e59.zip
Switch to USES=libtool
Strip binaries PR: ports/188978 Submitted by: tijl Approved by: kwm (gnome)
-rw-r--r--textproc/libxslt/Makefile21
-rw-r--r--textproc/py-libxslt/Makefile3
2 files changed, 8 insertions, 16 deletions
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile
index 5e98363ea2b1..c80d0dd3d8c3 100644
--- a/textproc/libxslt/Makefile
+++ b/textproc/libxslt/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libxslt
PORTVERSION= 1.1.28
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES?= textproc gnome
MASTER_SITES= ftp://xmlsoft.org/libxml2/ \
http://xmlsoft.org/sources/ \
@@ -15,10 +15,11 @@ COMMENT?= The XSLT C library for GNOME
.if !defined(REFERENCE_PORT)
-USES= gmake
+USES= gmake libtool:oldver pathfix
GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
-USE_GNOME?= gnomehack libxml2
+USE_GNOME?= libxml2
CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc \
--without-python
CPPFLAGS+= -I${LOCALBASE}/include
@@ -36,17 +37,9 @@ MEM_DEBUG_DESC= Enable memory debugging
CRYPTO_DESC= Enable crypto support for exslt
.endif
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMEM_DEBUG}
-CONFIGURE_ARGS+= --with-mem-debug
-.endif
-
-.if ${PORT_OPTIONS:MCRYPTO}
-LIB_DEPENDS+= gcrypt:${PORTSDIR}/security/libgcrypt
-.else
-CONFIGURE_ARGS+=--without-crypto
-.endif
+MEM_DEBUG_CONFIGURE_ON= --with-mem-debug
+CRYPTO_CONFIGURE_WITH= crypto
+CRYPTO_LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt
post-patch:
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \
diff --git a/textproc/py-libxslt/Makefile b/textproc/py-libxslt/Makefile
index 99fa4d5b774e..5f7c10701485 100644
--- a/textproc/py-libxslt/Makefile
+++ b/textproc/py-libxslt/Makefile
@@ -14,9 +14,8 @@ DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
USES= pathfix
-USE_GNOME= lthack libxslt
+USE_GNOME= libxslt
USE_PYTHON= yes
-USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
--with-python=${PYTHON_CMD}