Use BROKEN_SSL

Approved by:	portmgr (blanket)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-02-17 12:00:58 +00:00
parent 1bc7cb9cad
commit c40cfcc232
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462142

View File

@ -12,6 +12,8 @@ COMMENT= Lua binding for the OpenSSL library to provide TLS/SSL communication
LICENSE= MIT
BROKEN_SSL= openssl-devel
USE_GITHUB= yes
GH_ACCOUNT= brunoos
@ -34,16 +36,10 @@ post-patch: .SILENT
${REINPLACE_CMD} -Ee '/^(INC|LIB)DIR/s/[^?]=/?=/' \
${WRKSRC}/Makefile
.include <bsd.port.pre.mk>
.if ${SSL_DEFAULT:Mopenssl-devel}
BROKEN= Does not build with openssl-devel
.endif
do-install:
${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}/ssl ${STAGEDIR}${LUA_MODLIBDIR}
${INSTALL_LIB} ${WRKSRC}/src/ssl.so ${STAGEDIR}${LUA_MODLIBDIR}
${INSTALL_DATA} ${WRKSRC}/src/ssl.lua ${STAGEDIR}${LUA_MODSHAREDIR}
${INSTALL_DATA} ${WRKSRC}/src/https.lua ${STAGEDIR}${LUA_MODSHAREDIR}/ssl
.include <bsd.port.post.mk>
.include <bsd.port.mk>