aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-06-29 22:22:47 +0800
committermat <mat@FreeBSD.org>2016-06-29 22:22:47 +0800
commit09410c051548c154cfc17c25ddb40ec570d798cc (patch)
treee5b127ee6a72d6825c3281907d700d1adf36dc47 /www
parent06854ba68cc8bc881b74664760bb15eef7147574 (diff)
downloadfreebsd-ports-gnome-09410c051548c154cfc17c25ddb40ec570d798cc.tar.gz
freebsd-ports-gnome-09410c051548c154cfc17c25ddb40ec570d798cc.tar.zst
freebsd-ports-gnome-09410c051548c154cfc17c25ddb40ec570d798cc.zip
Remove all usage of OPENSSL_PORT from ports, this is deprecated, and
always was a user defined variable. Sponsored by: Absolight
Diffstat (limited to 'www')
-rw-r--r--www/node/Makefile2
-rw-r--r--www/node4/Makefile2
-rw-r--r--www/node5/Makefile2
-rw-r--r--www/obhttpd/Makefile9
4 files changed, 10 insertions, 5 deletions
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>