aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2017-12-23 12:38:35 +0000
committerBernard Spil <brnrd@FreeBSD.org>2017-12-23 12:38:35 +0000
commit40b340e8c490e7c690b929eab6cc2b7fdbb0fe93 (patch)
tree1202982316838807cd300dbff922befaade91ad1
parent8150a8c7f9863923729bb650dcdf7bf7362731bf (diff)
downloadports-40b340e8c490e7c690b929eab6cc2b7fdbb0fe93.tar.gz
ports-40b340e8c490e7c690b929eab6cc2b7fdbb0fe93.zip
Notes
-rw-r--r--security/acme-client/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/security/acme-client/Makefile b/security/acme-client/Makefile
index 40f08d0f7517..ed288c5a5d3f 100644
--- a/security/acme-client/Makefile
+++ b/security/acme-client/Makefile
@@ -50,16 +50,16 @@ post-install:
.include <bsd.port.pre.mk>
.if ! ${SSL_DEFAULT:Mlibressl*}
-BUILD_DEPENDS+= ${NONEXISTENT}:security/libressl:stage
-CPPFLAGS+= -I${WRKDIR}/libressl/include
-LDFLAGS+= -L${WRKDIR}/libressl/lib
. ifnmake describe
STAGEDIR_libressl!= ${MAKE} -V STAGEDIR -C ${PORTSDIR}/security/libressl
. endif
-
-pre-configure:
- (cd ${STAGEDIR_libressl}${LOCALBASE} && ${COPYTREE_SHARE} \
- . ${WRKDIR}/libressl "! -name *.so*")
+BUILD_DEPENDS+= ${NONEXISTENT}:security/libressl:stage
+CPPFLAGS+= -I${STAGEDIR_libressl}${LOCALBASE}/include
+LDFLAGS+= ${STAGEDIR_libressl}${LOCALBASE}/lib/libtls.a \
+ ${STAGEDIR_libressl}${LOCALBASE}/lib/libssl.a \
+ ${STAGEDIR_libressl}${LOCALBASE}/lib/libcrypto.a
+post-configure:
+ ${REINPLACE_CMD} 's/-l[a-z]*//g' ${WRKSRC}/GNUmakefile
.endif # SSL_DEFAULT
.include <bsd.port.post.mk>