1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00

net/relayd: fix build if SSL_DEFAULT is libressl

PR:		239860
Submitted by:	koue@chaosophia.net (maintainer), franco@opnsense.org
This commit is contained in:
Kurt Jaeger 2019-12-16 08:27:06 +00:00
parent 258309f764
commit fa6808b622
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520231

View File

@ -43,6 +43,8 @@ post-install:
STAGEDIR_libressl!= ${MAKE} -V STAGEDIR -C ${PORTSDIR}/security/libressl
. endif
BUILD_DEPENDS+= ${NONEXISTENT}:security/libressl:stage
.endif # SSL_DEFAULT
CFLAGS+= -I${STAGEDIR_libressl}${LOCALBASE}/include
post-configure:
@ -50,6 +52,5 @@ post-configure:
${WRKSRC}/relayd/Makefile
${REINPLACE_CMD} 's|-lcrypto|${STAGEDIR_libressl}${LOCALBASE}/lib/libcrypto.a|g' \
${WRKSRC}/relayd/Makefile
.endif # SSL_DEFAULT
.include <bsd.port.post.mk>