security/acme-client: Unbreak build

PR:		223692
Reported by:	madpilot@
MFH:		2017Q4
This commit is contained in:
Bernard Spil 2017-12-23 12:38:35 +00:00
parent 8150a8c7f9
commit 40b340e8c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=457047

View file

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