summaryrefslogtreecommitdiffstats
path: root/www/gtkhtml
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-11-22 20:29:41 +0000
committermarcus <marcus@FreeBSD.org>2002-11-22 20:29:41 +0000
commit9877a4a165e70ce6173ed7f5078239e2230d20b5 (patch)
treee4f4418852f321c898d9897b7b3bbadc10c1d7f5 /www/gtkhtml
parentc0dd2d2afd383f60dc81c4f98dc193e81f3b2578 (diff)
downloadFreeBSD-ports-9877a4a165e70ce6173ed7f5078239e2230d20b5.zip
FreeBSD-ports-9877a4a165e70ce6173ed7f5078239e2230d20b5.tar.gz
Make soup optional in gtkhtml. In doing this, we have to make sure soup is
a dependency of Evolution, so don't count on getting it from gtkhtml. The reason for this is fear that the underlying soup protocol, SOAP is inherently insecure. Thus far, however, there have been no advisories or exploits, and the one soup user, Evolution does not appear to have any SOAP-based security holes. See the following for more information: http://www.xml.com/pub/a/2002/02/27/security-lather.html http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/service11212001.asp Requested by: Scott A. Moberly <smoberly@karamazov.org>
Diffstat (limited to 'www/gtkhtml')
-rw-r--r--www/gtkhtml/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/www/gtkhtml/Makefile b/www/gtkhtml/Makefile
index 0fe4de2..276edc0 100644
--- a/www/gtkhtml/Makefile
+++ b/www/gtkhtml/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>
OpenPOWER on IntegriCloud