aboutsummaryrefslogtreecommitdiff
path: root/www/gtkhtml3
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-11-22 20:29:41 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-11-22 20:29:41 +0000
commit7bdec3fd36ad65b3c9f6c640898245aaa9955b63 (patch)
tree91512216b2f7cfe14351253d8547774ef4bad8e7 /www/gtkhtml3
parent9bce21b432eec6870b0a3b8e84d9a22d63dafbfd (diff)
downloadports-7bdec3fd36ad65b3c9f6c640898245aaa9955b63.tar.gz
ports-7bdec3fd36ad65b3c9f6c640898245aaa9955b63.zip
Notes
Diffstat (limited to 'www/gtkhtml3')
-rw-r--r--www/gtkhtml3/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/www/gtkhtml3/Makefile b/www/gtkhtml3/Makefile
index 0fe4de245fe3..276edc0ce996 100644
--- a/www/gtkhtml3/Makefile
+++ b/www/gtkhtml3/Makefile
@@ -14,8 +14,7 @@ DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
-LIB_DEPENDS= pspell.15:${PORTSDIR}/textproc/aspell \
- soup.5:${PORTSDIR}/devel/soup
+LIB_DEPENDS= pspell.15:${PORTSDIR}/textproc/aspell
USE_BZIP2= yes
USE_X_PREFIX= yes
@@ -32,6 +31,12 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
VERSION= ${PORTNAME}-${PORTVERSION}
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/libdata/pkgconfig/soup.pc) || !defined(WITHOUT_SOUP)
+LIB_DEPENDS+= soup.5:${PORTSDIR}/devel/soup
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@@ -47,4 +52,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/gtkhtmlConf.sh \
${PREFIX}/etc/gtkhtmlConf.sh
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>