aboutsummaryrefslogtreecommitdiffstats
path: root/www/gtkhtml3
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-11-23 04:29:41 +0800
committermarcus <marcus@FreeBSD.org>2002-11-23 04:29:41 +0800
commit9877a4a165e70ce6173ed7f5078239e2230d20b5 (patch)
treee4f4418852f321c898d9897b7b3bbadc10c1d7f5 /www/gtkhtml3
parentc0dd2d2afd383f60dc81c4f98dc193e81f3b2578 (diff)
downloadfreebsd-ports-gnome-9877a4a165e70ce6173ed7f5078239e2230d20b5.tar.gz
freebsd-ports-gnome-9877a4a165e70ce6173ed7f5078239e2230d20b5.tar.zst
freebsd-ports-gnome-9877a4a165e70ce6173ed7f5078239e2230d20b5.zip
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/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>