From 40b340e8c490e7c690b929eab6cc2b7fdbb0fe93 Mon Sep 17 00:00:00 2001 From: Bernard Spil Date: Sat, 23 Dec 2017 12:38:35 +0000 Subject: [PATCH] security/acme-client: Unbreak build PR: 223692 Reported by: madpilot@ MFH: 2017Q4 --- security/acme-client/Makefile | 14 +++++++------- 1 file 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 .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