aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/letskencrypt/Makefile9
-rw-r--r--www/node/Makefile2
-rw-r--r--www/node4/Makefile2
-rw-r--r--www/node5/Makefile2
-rw-r--r--www/obhttpd/Makefile9
5 files changed, 17 insertions, 7 deletions
diff --git a/security/letskencrypt/Makefile b/security/letskencrypt/Makefile
index 938c91d11ad8..3e0fa3f43413 100644
--- a/security/letskencrypt/Makefile
+++ b/security/letskencrypt/Makefile
@@ -20,7 +20,6 @@ MAKEFILE= GNUmakefile
MAKE_ARGS= PREFIX=${STAGEDIR}/${PREFIX}
WITH_OPENSSL_PORT= yes
-OPENSSL_PORT= security/libressl
WWWDIR= ${PREFIX}/www/letsencrypt
@@ -50,4 +49,10 @@ post-stage:
${INSTALL_SCRIPT} ${WRKDIR}/${d} ${STAGEDIR}${PREFIX}/etc/letsencrypt/${d}
. endfor
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if empty(SSL_DEFAULT:Mlibressl*)
+IGNORE= Need LibreSSL to build. set DEFAULT_VERSIONS+=ssl=libressl and rebuild everything.
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/node/Makefile b/www/node/Makefile
index b6a7ac8b054b..a831f1647a0e 100644
--- a/www/node/Makefile
+++ b/www/node/Makefile
@@ -57,7 +57,7 @@ CONFIGURE_ARGS+= --shared-openssl
.include <bsd.port.pre.mk>
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
-.if defined(OPENSSL_PORT) && (${OPENSSL_PORT} == "security/libressl" || ${OPENSSL_PORT} == "security/libressl-devel")
+.if !empty(SSL_DEFAULT:Mlibressl*)
IGNORE= cannot build node.js with LibreSSL. You must enable BUNDLED_SSL
.endif
.endif
diff --git a/www/node4/Makefile b/www/node4/Makefile
index de5accca1c39..2b9d4d7cb05d 100644
--- a/www/node4/Makefile
+++ b/www/node4/Makefile
@@ -56,7 +56,7 @@ CONFIGURE_ARGS+= --shared-openssl
.include <bsd.port.pre.mk>
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
-.if defined(OPENSSL_PORT) && (${OPENSSL_PORT} == "security/libressl" || ${OPENSSL_PORT} == "security/libressl-devel")
+.if !empty(SSL_DEFAULT:Mlibressl*)
IGNORE= cannot build node.js with LibreSSL. You must enable BUNDLED_SSL
.endif
.endif
diff --git a/www/node5/Makefile b/www/node5/Makefile
index 36a51849184b..76ff15efb5fb 100644
--- a/www/node5/Makefile
+++ b/www/node5/Makefile
@@ -58,7 +58,7 @@ CONFIGURE_ARGS+= --shared-openssl
.include <bsd.port.pre.mk>
.if empty(PORT_OPTIONS:MBUNDLED_SSL)
-.if defined(OPENSSL_PORT) && (${OPENSSL_PORT} == "security/libressl" || ${OPENSSL_PORT} == "security/libressl-devel")
+.if !empty(SSL_DEFAULT:Mlibressl*)
IGNORE= cannot build node.js with LibreSSL. You must enable BUNDLED_SSL
.endif
.endif
diff --git a/www/obhttpd/Makefile b/www/obhttpd/Makefile
index 16075e04fc58..5af8a7238e77 100644
--- a/www/obhttpd/Makefile
+++ b/www/obhttpd/Makefile
@@ -20,7 +20,6 @@ USE_RC_SUBR= obhttpd
USES= uidfix
WITH_OPENSSL_PORT=yes
-OPENSSL_PORT= security/libressl
CFLAGS+= -Wall
@@ -48,4 +47,10 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/${GH_PROJECT}-${PORTVERSION}/src/etc/examples/httpd.conf \
${STAGEDIR}${PREFIX}/etc/obhttpd.conf.sample
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if empty(SSL_DEFAULT:Mlibressl*)
+IGNORE= Need LibreSSL to build. set DEFAULT_VERSIONS+=ssl=libressl and rebuild everything.
+.endif
+
+.include <bsd.port.post.mk>