From 7bdec3fd36ad65b3c9f6c640898245aaa9955b63 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Fri, 22 Nov 2002 20:29:41 +0000 Subject: 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 --- www/gtkhtml38/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'www/gtkhtml38') diff --git a/www/gtkhtml38/Makefile b/www/gtkhtml38/Makefile index 0fe4de245fe3..276edc0ce996 100644 --- a/www/gtkhtml38/Makefile +++ b/www/gtkhtml38/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 + +.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 +.include -- cgit v1.2.3