summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-11-29 18:46:21 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-11-29 18:46:21 +0000
commit703ff6d36176652e995eaf56e44c8637531c23a3 (patch)
tree81e5478fa11645e21ab75a8faa039b5e6d1918c5
parentwww/firefox: unbreak TEST=on build (diff)
Mark some ports as not openssl-devel ready.
Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=427389
-rw-r--r--archivers/libarchive/Makefile4
-rw-r--r--archivers/unrar/Makefile8
-rw-r--r--databases/freetds/Makefile8
-rw-r--r--databases/postgresql92-server/Makefile4
-rw-r--r--devel/libevent2/Makefile8
-rw-r--r--dns/credns/Makefile8
-rw-r--r--dns/ldns/Makefile4
-rw-r--r--dns/validns/Makefile8
-rw-r--r--ftp/lftp/Makefile8
-rw-r--r--ftp/proftpd/Makefile4
-rw-r--r--ftp/wget/Makefile8
-rw-r--r--irc/bip/Makefile8
-rw-r--r--irc/bitchx/Makefile8
-rw-r--r--lang/php56/Makefile.ext4
-rw-r--r--lang/python27/Makefile8
-rw-r--r--lang/python35/Makefile8
-rw-r--r--lang/ruby22/Makefile4
-rw-r--r--mail/alpine/Makefile4
-rw-r--r--mail/fetchmail/Makefile8
-rw-r--r--mail/libesmtp/Makefile8
-rw-r--r--mail/panda-cclient/Makefile4
-rw-r--r--mail/spamd/Makefile4
-rw-r--r--multimedia/librtmp/Makefile8
-rw-r--r--net-mgmt/net-snmp/Makefile4
-rw-r--r--net-p2p/libtorrent/Makefile4
-rw-r--r--net/haproxy/Makefile8
-rw-r--r--net/libsrtp/Makefile8
-rw-r--r--net/libvncserver/Makefile8
-rw-r--r--net/mpd5/Makefile8
-rw-r--r--net/openldap24-server/Makefile4
-rw-r--r--net/socat/Makefile3
-rw-r--r--net/vtun/Makefile8
-rw-r--r--security/john/Makefile4
-rw-r--r--security/libssh2/Makefile4
-rw-r--r--security/luasec/Makefile8
-rw-r--r--security/openca-tools-forked/Makefile8
-rw-r--r--security/p5-Crypt-OpenSSL-CA/Makefile8
-rw-r--r--security/p5-Crypt-OpenSSL-ECDSA/Makefile8
-rw-r--r--security/p5-Crypt-OpenSSL-RSA/Makefile8
-rw-r--r--security/p5-Crypt-OpenSSL-X509/Makefile8
-rw-r--r--security/p5-POE-Filter-SSL/Makefile8
-rw-r--r--security/pam_ssh_agent_auth/Makefile8
-rw-r--r--security/pkcs11-helper/Makefile8
-rw-r--r--security/sslscan/Makefile8
-rw-r--r--sysutils/bacula-server/Makefile5
-rw-r--r--sysutils/bacula5-server/Makefile8
-rw-r--r--sysutils/ipmitool/Makefile8
-rw-r--r--sysutils/tarsnap/Makefile4
-rw-r--r--textproc/htmldoc/Makefile8
-rw-r--r--www/libwww/Makefile8
-rw-r--r--www/links1/Makefile8
-rw-r--r--www/lynx/Makefile8
-rw-r--r--www/neon/Makefile8
-rw-r--r--www/nginx/Makefile8
-rw-r--r--www/squid/Makefile4
55 files changed, 331 insertions, 37 deletions
diff --git a/archivers/libarchive/Makefile b/archivers/libarchive/Makefile
index 1143786ca2c7..d9d0c3cdf8f4 100644
--- a/archivers/libarchive/Makefile
+++ b/archivers/libarchive/Makefile
@@ -98,6 +98,10 @@ NETTLE_CONFIGURE_OFF= --with-openssl
.include <bsd.port.pre.mk>
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1002504
CONFIGURE_ENV+= ac_cv_lzma_has_mt=no
.endif
diff --git a/archivers/unrar/Makefile b/archivers/unrar/Makefile
index 86f154060929..5a98edc807bf 100644
--- a/archivers/unrar/Makefile
+++ b/archivers/unrar/Makefile
@@ -38,4 +38,10 @@ do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/freetds/Makefile b/databases/freetds/Makefile
index 9d09f07c6b2e..cfc371c72e26 100644
--- a/databases/freetds/Makefile
+++ b/databases/freetds/Makefile
@@ -71,4 +71,10 @@ post-patch:
post-install:
${INSTALL_DATA} ${WRKSRC}/interfaces ${STAGEDIR}${ETCDIR}/interfaces.sample
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile
index 602ce111ee3d..69037fe7d34b 100644
--- a/databases/postgresql92-server/Makefile
+++ b/databases/postgresql92-server/Makefile
@@ -204,6 +204,10 @@ CONFIGURE_ARGS+=--with-krb5
# For testing files in FILESDIR
.include <bsd.port.pre.mk>
+.if ${PORT_OPTIONS:MSSL} && ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
.if defined(SERVER_ONLY)
pre-build:
@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
diff --git a/devel/libevent2/Makefile b/devel/libevent2/Makefile
index 36c08fdb58d5..d5429d4e33d7 100644
--- a/devel/libevent2/Makefile
+++ b/devel/libevent2/Makefile
@@ -42,4 +42,10 @@ post-patch:
regression-test: build
@(${SH} ${WRKSRC}/test/regress)
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MOPENSSL} && ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/dns/credns/Makefile b/dns/credns/Makefile
index 7cc9ea7af372..544ca152ddce 100644
--- a/dns/credns/Makefile
+++ b/dns/credns/Makefile
@@ -59,4 +59,10 @@ post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/dns/ldns/Makefile b/dns/ldns/Makefile
index d797a8632e73..33468ca0bb5b 100644
--- a/dns/ldns/Makefile
+++ b/dns/ldns/Makefile
@@ -87,6 +87,10 @@ INSTALL_TARGET= install-lib install-h install-config
.include <bsd.port.pre.mk>
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
.if ${PORT_OPTIONS:MGOST}
. if !defined(SSL_DEFAULT) || ${SSL_DEFAULT} == "base"
IGNORE_FreeBSD_9= Requires openssl version >= 1.0.0
diff --git a/dns/validns/Makefile b/dns/validns/Makefile
index 7f5b500fefc9..8873cb930d4e 100644
--- a/dns/validns/Makefile
+++ b/dns/validns/Makefile
@@ -37,4 +37,10 @@ do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/ftp/lftp/Makefile b/ftp/lftp/Makefile
index 2cd63afc9dca..4478256ca024 100644
--- a/ftp/lftp/Makefile
+++ b/ftp/lftp/Makefile
@@ -64,4 +64,10 @@ post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index b9ba7a89b034..0773c22558d9 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -171,6 +171,10 @@ CONFIGURE_ARGS+= --with-libraries=${LIBDIRS}
.include <bsd.port.pre.mk>
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
.if !defined(_BUILDING_PROFTPD_MODULE)
.if empty(ICONV_PREFIX)
diff --git a/ftp/wget/Makefile b/ftp/wget/Makefile
index 43277ce354e5..efaf2e9d070f 100644
--- a/ftp/wget/Makefile
+++ b/ftp/wget/Makefile
@@ -78,4 +78,10 @@ post-patch:
${REINPLACE_CMD} -e '/ac_fn_c_check_header_mongrel.*uuid\/uuid.h/ d' \
${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MOPENSSL} && ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/irc/bip/Makefile b/irc/bip/Makefile
index 5cd1fa7a4057..690dffbc5636 100644
--- a/irc/bip/Makefile
+++ b/irc/bip/Makefile
@@ -45,4 +45,10 @@ post-install-EXAMPLES-on:
${INSTALL_DATA} ${WRKSRC}/samples/${i} ${STAGEDIR}${EXAMPLESDIR}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/irc/bitchx/Makefile b/irc/bitchx/Makefile
index 352930985d6a..52ebd2a65436 100644
--- a/irc/bitchx/Makefile
+++ b/irc/bitchx/Makefile
@@ -74,4 +74,10 @@ post-patch:
cd ${WRKSRC}/bitchx-docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MSSL} && ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/lang/php56/Makefile.ext b/lang/php56/Makefile.ext
index 41655003897c..060cf3093f58 100644
--- a/lang/php56/Makefile.ext
+++ b/lang/php56/Makefile.ext
@@ -527,6 +527,10 @@ USES+= mysql
.include <bsd.port.pre.mk>
+.if ${PHP_MODNAME} == "openssl" && ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
.if ${PHP_MODNAME} == "gd"
. if ${PORT_OPTIONS:MT1LIB}
LIB_DEPENDS+= libt1.so:devel/t1lib
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index b6319cd338f6..a7b6b0b9dcb0 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -125,4 +125,10 @@ post-install:
for i in ${STAGEDIR}${PREFIX}/lib/python2.7/lib-dynload/*.so; do \
${STRIP_CMD} $$i; done # Strip shared extensions
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/lang/python35/Makefile b/lang/python35/Makefile
index 9570c55b270f..393f988d2345 100644
--- a/lang/python35/Makefile
+++ b/lang/python35/Makefile
@@ -129,4 +129,10 @@ post-install:
for i in ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/lib-dynload/*.so; do \
${STRIP_CMD} $$i; done # Strip shared extensions
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/lang/ruby22/Makefile b/lang/ruby22/Makefile
index b0c376a8af47..6a837ce8876b 100644
--- a/lang/ruby22/Makefile
+++ b/lang/ruby22/Makefile
@@ -79,6 +79,10 @@ CPE_UPDATE= p${RUBY_PATCHLEVEL}
.include <bsd.port.pre.mk>
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
# PORTEPOCH/PORTREVISION hack
.if ${PORTEPOCH} != 0
diff --git a/mail/alpine/Makefile b/mail/alpine/Makefile
index f55347eb8151..0a4069a03600 100644
--- a/mail/alpine/Makefile
+++ b/mail/alpine/Makefile
@@ -77,6 +77,10 @@ USE_OPENSSL= no
.include <bsd.port.pre.mk>
+.if ${PORT_OPTIONS:MSSL} && ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
THREADS_CONFIGURE_WITH= pthread
MOUSE_CONFIGURE_ENABLE= mouse
NLS_CONFIGURE_ENABLE= nls
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index 962fcb7d4992..bb1da69b1509 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -92,4 +92,10 @@ post-install-X11-off:
${INSTALL_SCRIPT} ${WRKDIR}/fetchmailconf ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/fetchmailconf.py ${STAGEDIR}${PREFIX}/libexec
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/mail/libesmtp/Makefile b/mail/libesmtp/Makefile
index dd3aa5cb7f6c..21fadf29b499 100644
--- a/mail/libesmtp/Makefile
+++ b/mail/libesmtp/Makefile
@@ -41,4 +41,10 @@ post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MOPENSSL} && ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/mail/panda-cclient/Makefile b/mail/panda-cclient/Makefile
index c69db209beb2..8af8d8a30223 100644
--- a/mail/panda-cclient/Makefile
+++ b/mail/panda-cclient/Makefile
@@ -35,6 +35,10 @@ PKGMESSAGE= pkg-message-ssl
.include <bsd.port.pre.mk>
+.if ${PORT_OPTIONS:MSSL} && ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
USE_LDCONFIG= yes
ALL_TARGET= bsf
.if ! ${PORT_OPTIONS:MSSL}
diff --git a/mail/spamd/Makefile b/mail/spamd/Makefile
index 8ffd128c7231..ca21753f12af 100644
--- a/mail/spamd/Makefile
+++ b/mail/spamd/Makefile
@@ -53,6 +53,10 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
diff --git a/multimedia/librtmp/Makefile b/multimedia/librtmp/Makefile
index 10b806521470..881b352130f3 100644
--- a/multimedia/librtmp/Makefile
+++ b/multimedia/librtmp/Makefile
@@ -18,4 +18,10 @@ CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
WRKSRC= ${WRKDIR}/${DISTNAME}/librtmp
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index 7d29e28b11b0..4f2c5dfde9b3 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -215,6 +215,10 @@ CONFLICTS= ucd-snmp-4.* net-snmp-5.3.*
.include <bsd.port.pre.mk>
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
.if ${SSL_DEFAULT} != base
LCRYPTO= -lcrypto
.else
diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile
index 8f08d2a75e70..d9e0fa036377 100644
--- a/net-p2p/libtorrent/Makefile
+++ b/net-p2p/libtorrent/Makefile
@@ -35,6 +35,10 @@ KQUEUE_CONFIGURE_WITH= kqueue
.include <bsd.port.pre.mk>
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
# Disable amd64 atomic ops on i386 when using gcc
# undefined reference to __sync_add_and_fetch_8
# undefined reference to __sync_fetch_and_and_8
diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile
index a19ed6ecb7f1..deadbafdb46a 100644
--- a/net/haproxy/Makefile
+++ b/net/haproxy/Makefile
@@ -80,4 +80,10 @@ do-install:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MOPENSSL} && ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/libsrtp/Makefile b/net/libsrtp/Makefile
index e1db7dbf0436..58a04c29b3b5 100644
--- a/net/libsrtp/Makefile
+++ b/net/libsrtp/Makefile
@@ -44,4 +44,10 @@ post-build:
check test runtest regression-test: build
${SETENV} LD_LIBRARY_PATH=${WRKSRC} ${MAKE_CMD} -C ${WRKSRC} runtest
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/libvncserver/Makefile b/net/libvncserver/Makefile
index 4ca273e0cf71..7ae357d6892b 100644
--- a/net/libvncserver/Makefile
+++ b/net/libvncserver/Makefile
@@ -49,4 +49,10 @@ VAAPI_CONFIGURE_WITH= libva
post-install:
${INSTALL_DATA} ${WRKSRC}/rfb/default8x16.h ${STAGEDIR}${PREFIX}/include/rfb
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MOPENSSL} && ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/mpd5/Makefile b/net/mpd5/Makefile
index 987c21957110..df4b971400f7 100644
--- a/net/mpd5/Makefile
+++ b/net/mpd5/Makefile
@@ -42,4 +42,10 @@ PLIST_FILES= ${CONFSUF:S/^/etc\/mpd5\/mpd./:S/$/.sample/} sbin/mpd5
PLIST_FILES+= man/man8/mpd5.8.gz
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index 2a3b815adfaf..cb0ba095eee1 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -505,6 +505,10 @@ PLIST_SUB+= OPENLDAP_MAJOR=${OPENLDAP_MAJOR}
.include <bsd.port.pre.mk>
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
.if !${PORT_OPTIONS:MFETCH}
CONFIGURE_ARGS+= --without-fetch
.else
diff --git a/net/socat/Makefile b/net/socat/Makefile
index afff12ed8400..c7f727c870d7 100644
--- a/net/socat/Makefile
+++ b/net/socat/Makefile
@@ -29,6 +29,9 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT} != base
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.endif
diff --git a/net/vtun/Makefile b/net/vtun/Makefile
index a18c0f662a18..02c7ff94a58c 100644
--- a/net/vtun/Makefile
+++ b/net/vtun/Makefile
@@ -54,4 +54,10 @@ post-install:
@cd ${STAGEDIR}${PREFIX}/man/man1/ && \
${LN} -s vtund.8 ../man1/vtun.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/john/Makefile b/security/john/Makefile
index c0720bf64733..cc334f2a0c67 100644
--- a/security/john/Makefile
+++ b/security/john/Makefile
@@ -71,6 +71,10 @@ post-patch:
.include <bsd.port.pre.mk>
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000024
CFLAGS+= -flax-vector-conversions
.endif
diff --git a/security/libssh2/Makefile b/security/libssh2/Makefile
index 71bc43af4a8b..54c4fc6c7b7c 100644
--- a/security/libssh2/Makefile
+++ b/security/libssh2/Makefile
@@ -36,6 +36,10 @@ ZLIB_CONFIGURE_WITH= libz
.include <bsd.port.pre.mk>
+.if empty(PORT_OPTIONS:MGCRYPT) && ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/Libs:/s/@LDFLAGS@//' -e '/Libs:/s/@LIBS@//' \
${WRKSRC}/libssh2.pc.in
diff --git a/security/luasec/Makefile b/security/luasec/Makefile
index d1adfb7785fe..2218245b81d2 100644
--- a/security/luasec/Makefile
+++ b/security/luasec/Makefile
@@ -30,4 +30,10 @@ post-patch: .SILENT
${REINPLACE_CMD} -Ee '/^(INC|LIB)DIR/s/[^?]=/?=/' \
${WRKSRC}/Makefile
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/openca-tools-forked/Makefile b/security/openca-tools-forked/Makefile
index 2ccd149aa108..6a126f6727bc 100644
--- a/security/openca-tools-forked/Makefile
+++ b/security/openca-tools-forked/Makefile
@@ -26,4 +26,10 @@ post-stage:
@${MV} ${STAGEDIR}${PREFIX}/man/man1/${f} ${STAGEDIR}${PREFIX}/man/man1/openca-${f}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/p5-Crypt-OpenSSL-CA/Makefile b/security/p5-Crypt-OpenSSL-CA/Makefile
index f9a0717bd564..f9d0b61f453b 100644
--- a/security/p5-Crypt-OpenSSL-CA/Makefile
+++ b/security/p5-Crypt-OpenSSL-CA/Makefile
@@ -30,4 +30,10 @@ USES= perl5 ssl
USE_PERL5= modbuild
CONFIGURE_ARGS= --openssl-cflags=-L${OPENSSLINC} --openssl-ldflags="-I${OPENSSLLIB} ${OPENSSL_LDFLAGS}"
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/p5-Crypt-OpenSSL-ECDSA/Makefile b/security/p5-Crypt-OpenSSL-ECDSA/Makefile
index 1b5e87c31a83..0b52eecbabdb 100644
--- a/security/p5-Crypt-OpenSSL-ECDSA/Makefile
+++ b/security/p5-Crypt-OpenSSL-ECDSA/Makefile
@@ -23,4 +23,10 @@ CFLAGS+= -I${OPENSSLINC}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Crypt/OpenSSL/ECDSA/ECDSA.so
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/p5-Crypt-OpenSSL-RSA/Makefile b/security/p5-Crypt-OpenSSL-RSA/Makefile
index f53cc14ccdea..687eab52fc9d 100644
--- a/security/p5-Crypt-OpenSSL-RSA/Makefile
+++ b/security/p5-Crypt-OpenSSL-RSA/Makefile
@@ -23,4 +23,10 @@ MAKE_ARGS= PASTHRU_INC=-I${OPENSSLINC}
regression-test: build
cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} test
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/p5-Crypt-OpenSSL-X509/Makefile b/security/p5-Crypt-OpenSSL-X509/Makefile
index 98ad2b9b4332..f46f3908a5ee 100644
--- a/security/p5-Crypt-OpenSSL-X509/Makefile
+++ b/security/p5-Crypt-OpenSSL-X509/Makefile
@@ -25,4 +25,10 @@ post-patch:
post-stage:
${STRIP_CMD} ${STAGEDIR}${SITE_ARCH}/auto/Crypt/OpenSSL/X509/X509.so
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/p5-POE-Filter-SSL/Makefile b/security/p5-POE-Filter-SSL/Makefile
index 55b831e0d93d..c7784c740e87 100644
--- a/security/p5-POE-Filter-SSL/Makefile
+++ b/security/p5-POE-Filter-SSL/Makefile
@@ -29,4 +29,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/POE/Filter/SSL/SSL.so
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/pam_ssh_agent_auth/Makefile b/security/pam_ssh_agent_auth/Makefile
index 4819f124f7fc..5c01b73fb4b4 100644
--- a/security/pam_ssh_agent_auth/Makefile
+++ b/security/pam_ssh_agent_auth/Makefile
@@ -22,4 +22,10 @@ PLIST_FILES= lib/pam_ssh_agent_auth.so \
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pam_ssh_agent_auth.so
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/pkcs11-helper/Makefile b/security/pkcs11-helper/Makefile
index 7899636fa168..f8a960952aa0 100644
--- a/security/pkcs11-helper/Makefile
+++ b/security/pkcs11-helper/Makefile
@@ -37,4 +37,10 @@ post-patch:
@${REINPLACE_CMD} 's|install-data-am: install-apidocDATA|install-data-am:|' \
${WRKSRC}/doc/api/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/security/sslscan/Makefile b/security/sslscan/Makefile
index 003825ab1875..d16eb1ffc9d7 100644
--- a/security/sslscan/Makefile
+++ b/security/sslscan/Makefile
@@ -16,4 +16,10 @@ USE_OPENSSL= yes
USE_GITHUB= yes
GH_ACCOUNT= rbsec
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile
index 8c7c917c4a23..73830fc25fa3 100644
--- a/sysutils/bacula-server/Makefile
+++ b/sysutils/bacula-server/Makefile
@@ -134,6 +134,11 @@ PLIST_SUB+= DBTYPE=${DBTYPE}
.endif
.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
.if ${readline_ARGS} == "port"
readline_CONFIGURE= ${LOCALBASE}
.else
diff --git a/sysutils/bacula5-server/Makefile b/sysutils/bacula5-server/Makefile
index b8d021f33c3a..ea658a25e916 100644
--- a/sysutils/bacula5-server/Makefile
+++ b/sysutils/bacula5-server/Makefile
@@ -187,4 +187,10 @@ post-install:
.else
.include "${MASTERDIR}/Makefile.common"
.endif # -client and -server are defined
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MOPENSSL} && ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/ipmitool/Makefile b/sysutils/ipmitool/Makefile
index aa3996d48146..b16a5e23f4c1 100644
--- a/sysutils/ipmitool/Makefile
+++ b/sysutils/ipmitool/Makefile
@@ -55,4 +55,10 @@ post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${PERIODIC_DIR}
${INSTALL_SCRIPT} ${WRKDIR}/status-ipmi.sh ${STAGEDIR}${PREFIX}/${PERIODIC_DIR}/400.status-ipmi
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/tarsnap/Makefile b/sysutils/tarsnap/Makefile
index 9505f165e22c..46501118601d 100644
--- a/sysutils/tarsnap/Makefile
+++ b/sysutils/tarsnap/Makefile
@@ -26,4 +26,8 @@ RESTRICTED= license only allows redistribution and use of unmodified source and
.endif
LEGAL_TEXT= license restricts redistribution of source and binaries
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
.include <bsd.port.post.mk>
diff --git a/textproc/htmldoc/Makefile b/textproc/htmldoc/Makefile
index 737949b498ac..efe94bbf8f5e 100644
--- a/textproc/htmldoc/Makefile
+++ b/textproc/htmldoc/Makefile
@@ -59,4 +59,10 @@ post-configure:
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/htmldoc
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/libwww/Makefile b/www/libwww/Makefile
index 87b8f1e8556e..2815c2a2f22d 100644
--- a/www/libwww/Makefile
+++ b/www/libwww/Makefile
@@ -22,4 +22,10 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/modules/expat/xmlparse/xmlparse.h \
${STAGEDIR}${PREFIX}/include/w3c-libwww/
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/links1/Makefile b/www/links1/Makefile
index dc68b38ca4e7..33c98731da62 100644
--- a/www/links1/Makefile
+++ b/www/links1/Makefile
@@ -19,4 +19,10 @@ CONFLICTS= links-2*
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/lynx/Makefile b/www/lynx/Makefile
index 11a5983fa671..11e13d3a3272 100644
--- a/www/lynx/Makefile
+++ b/www/lynx/Makefile
@@ -62,4 +62,10 @@ post-install-DOCS-on:
(cd ${STAGEDIR}${L_HELP} && ln -sf ../doc/lynx/${doc} .)
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MSSL} && ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/neon/Makefile b/www/neon/Makefile
index 19f292b4ac81..a9cf78416998 100644
--- a/www/neon/Makefile
+++ b/www/neon/Makefile
@@ -59,4 +59,10 @@ post-patch:
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libneon.so.27.*
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MOPENSSL} && ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index a4f6c79bdaee..8b638bc89f25 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -1360,4 +1360,10 @@ post-install:
${CAT} ${WRKSRC}/conf/nginx.conf \
>>${STAGEDIR}${ETCDIR}/nginx.conf-dist
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(NGINX_OPENSSL) && ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/squid/Makefile b/www/squid/Makefile
index 2c15e585b56e..50ca7565353a 100644
--- a/www/squid/Makefile
+++ b/www/squid/Makefile
@@ -312,6 +312,10 @@ post-install:
.include <bsd.port.pre.mk>
+.if ${PORT_OPTIONS:MSSL} && ${SSL_DEFAULT:Mopenssl-devel}
+BROKEN= Does not build with openssl-devel
+.endif
+
.if ${COMPILER_TYPE} == clang
#CXXFLAGS+= -Wno-unused-private-field
.if ${COMPILER_VERSION} >= 35