View | Details | Raw Unified | Return to bug 212980
Collapse All | Expand All

(-)b/security/acme-client/Makefile (-1 / +16 lines)
Lines 13-19 COMMENT= Native C client for Let's Encrypt, designed for security Link Here
13
13
14
LICENSE=	ISCL
14
LICENSE=	ISCL
15
15
16
USES=		gmake ssl tar:tgz
16
17
USES=		gmake tar:tgz
18
19
OPTIONS_DEFINE= STATIC_SSL
20
21
STATIC_SSL_DESC=	Link statically with security/libressl
22
STATIC_SSL_USES_OFF=	ssl
23
24
STATIC_SSL_BUILD_DEPENDS=	${LOCALBASE}/lib/libtls.a:security/libressl \
25
				${LOCALBASE}/lib/libssl.a:security/libressl \
26
				${LOCALBASE}/lib/libcrypto.a:security/libressl
27
STATIC_SSL_EXTRA_PATCHES=	${PATCHDIR}/extra-GNUmakefile
17
28
18
MAKEFILE=	GNUmakefile
29
MAKEFILE=	GNUmakefile
19
MAKE_ENV=	PREFIX=${STAGEDIR}/${PREFIX}
30
MAKE_ENV=	PREFIX=${STAGEDIR}/${PREFIX}
Lines 47-52 post-install: Link Here
47
.include <bsd.port.pre.mk>
58
.include <bsd.port.pre.mk>
48
59
49
.if empty(SSL_DEFAULT:M*libressl*)
60
.if empty(SSL_DEFAULT:M*libressl*)
61
OPTIONS_DEFAULT+= STATIC_SSL
62
.endif
63
64
.if !${PORT_OPTIONS:MSTATIC_SSL} && empty(SSL_DEFAULT:M*libressl*)
50
IGNORE=	needs LibreSSL to build. set DEFAULT_VERSIONS+=ssl=libressl \
65
IGNORE=	needs LibreSSL to build. set DEFAULT_VERSIONS+=ssl=libressl \
51
	and rebuild all ports that depend on openssl
66
	and rebuild all ports that depend on openssl
52
.endif
67
.endif
(-)b/security/acme-client/files/extra-GNUmakefile (+11 lines)
Added Link Here
1
--- GNUmakefile.orig	2016-09-24 21:09:24 UTC
2
+++ GNUmakefile
3
@@ -71,7 +71,7 @@ endif
4
 all: acme-client
5
 
6
 acme-client: $(OBJS)
7
-	$(CC) -o $@ $(OBJS) $(LDFLAGS) -ltls -lssl -lcrypto $(LIBBSD)
8
+	$(CC) -o $@ $(OBJS) $(LDFLAGS) /usr/local/lib/libtls.a /usr/local/lib/libssl.a /usr/local/lib/libcrypto.a $(LIBBSD)
9
 
10
 # This is for synchronising from -portable to the master.
11
 rmerge:

Return to bug 212980