aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-04-14 00:52:09 +0800
committermat <mat@FreeBSD.org>2017-04-14 00:52:09 +0800
commit21288ddf901e33a87dcd37e24a9872a79d1fb534 (patch)
tree8bdf8b629460bebce7f1857b4bd73045928ebd73 /www
parent95948ec4bd722a3b31a5552230c2618faa60333c (diff)
downloadfreebsd-ports-gnome-21288ddf901e33a87dcd37e24a9872a79d1fb534.tar.gz
freebsd-ports-gnome-21288ddf901e33a87dcd37e24a9872a79d1fb534.tar.zst
freebsd-ports-gnome-21288ddf901e33a87dcd37e24a9872a79d1fb534.zip
Add a BROKEN_OPENSSL and IGNORE_OPENSSL, to mark ports that are
BROKEN/IGNORE for specific OpenSSL flavors. Convert a few ports as an example. Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D10340
Diffstat (limited to 'www')
-rw-r--r--www/libwww/Makefile10
-rw-r--r--www/mod_auth_gssapi/Makefile9
-rw-r--r--www/mod_spdy/Makefile7
3 files changed, 9 insertions, 17 deletions
diff --git a/www/libwww/Makefile b/www/libwww/Makefile
index 4137720ce97a..c22941f67eae 100644
--- a/www/libwww/Makefile
+++ b/www/libwww/Makefile
@@ -22,15 +22,11 @@ USES= gmake libtool perl5 ssl tar:tgz
USE_PERL5= build
USE_LDCONFIG= yes
+BROKEN_OPENSSL= openssl-devel
+
post-install:
${INSTALL_DATA} ${WRKSRC}/modules/expat/xmlparse/xmlparse.h \
${STAGEDIR}${PREFIX}/include/w3c-libwww/
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
-.include <bsd.port.pre.mk>
-
-.if ${SSL_DEFAULT:Mopenssl-devel}
-BROKEN= Does not build with openssl-devel
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/mod_auth_gssapi/Makefile b/www/mod_auth_gssapi/Makefile
index 475cadc07e31..1c5fe6ccaec7 100644
--- a/www/mod_auth_gssapi/Makefile
+++ b/www/mod_auth_gssapi/Makefile
@@ -29,11 +29,8 @@ SUB_FILES= ${APMOD_FILE}
APMOD_FILE= 240_${PORTNAME}.conf.sample
PLIST_SUB+= APMOD_FILE=${APMOD_FILE}
-.include <bsd.port.pre.mk>
-
-.if ${SSL_DEFAULT:Mlibressl*}
-IGNORE= mod_auth_gssapi currently only supports OpenSSL
-.endif
+IGNORE_OPENSSL= libressl libressl-devel
+IGNORE_OPENSSL_REASON= mod_auth_gssapi currently only supports OpenSSL
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
@@ -43,4 +40,4 @@ do-install:
${INSTALL_DATA} ${WRKDIR}/${APMOD_FILE} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/modules.d
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/${MODULENAME}.so
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/mod_spdy/Makefile b/www/mod_spdy/Makefile
index bf35ef557860..613ca4fa4099 100644
--- a/www/mod_spdy/Makefile
+++ b/www/mod_spdy/Makefile
@@ -82,11 +82,10 @@ CONFIGURE_ENV+= CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}"
MAKE_ENV+= BUILDTYPE=${BUILDTYPE}
-.include <bsd.port.pre.mk>
+BROKEN_OPENSSL= libressl libressl-devel
+BROKEN_OPENSSL_REASON= incompatible with LibreSSL, please use www/apache24 with mod_http2
-.if ${SSL_DEFAULT:Mlibressl*}
-IGNORE= ${PORTNAME} is incompatible with LibreSSL, please use www/apache24 with mod_http2
-.endif
+.include <bsd.port.pre.mk>
.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 36
CXXFLAGS+= -Wno-unused-local-typedef