aboutsummaryrefslogtreecommitdiffstats
path: root/security/s2n
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-06-16 21:23:13 +0800
committermat <mat@FreeBSD.org>2016-06-16 21:23:13 +0800
commita4af234af8f51d40eb998ed6d368ccea401a3302 (patch)
treef5237f7173e7b9a5cbac11e6a57f460d84e79314 /security/s2n
parent56be8553fe553c4526347278fbdd90ec4156eb14 (diff)
downloadfreebsd-ports-gnome-a4af234af8f51d40eb998ed6d368ccea401a3302.tar.gz
freebsd-ports-gnome-a4af234af8f51d40eb998ed6d368ccea401a3302.tar.zst
freebsd-ports-gnome-a4af234af8f51d40eb998ed6d368ccea401a3302.zip
Fix usage of WITH_OPENSSL_BASE, WITH_OPENSSL_PORT and OPENSSL_PORT.
WITH_OPENSSL_* can't be set after bsd.port.pre.mk. Fold all other usage into using SSL_DEFAULT == foo PR: 210149 Submitted by: mat Exp-run by: antoine Sponsored by: The FreeBSD Foundation, Absolight Differential Revision: https://reviews.freebsd.org/D6577
Diffstat (limited to 'security/s2n')
-rw-r--r--security/s2n/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/s2n/Makefile b/security/s2n/Makefile
index 4906c583b948..2a09e79fc592 100644
--- a/security/s2n/Makefile
+++ b/security/s2n/Makefile
@@ -17,17 +17,17 @@ GH_TAGNAME= c6da8bb
OPTIONS_DEFINE= DOCS EXAMPLES
USES= gmake
+USE_OPENSSL=yes
USE_LDCONFIG= yes
NO_CONFIGURE= yes
SUB_FILES= pkg-message Makefile
ALL_TARGET= bin
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${OSVERSION} < 1000015
WITH_OPENSSL_PORT= yes
-.include "${PORTSDIR}/Mk/bsd.openssl.mk"
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
.endif
@@ -50,4 +50,4 @@ do-install:
tests: build
${GMAKE} PLATFORM=FreeBSD CRYPTO_LDFLAGS=-L${LOCALBASE}/lib -C ${WRKSRC}/tests
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>