Remove all usage of OPENSSL_PORT from ports, this is deprecated, and

always was a user defined variable.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2016-06-29 14:22:47 +00:00
parent 91ca14e1fa
commit 61155ffd86
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417767
5 changed files with 17 additions and 7 deletions

View file

@ -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>

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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>