1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

www/mongoose: Add CFLAGS and LDFLAGS for USES=ssl

Approved by:	SSL blanket
This commit is contained in:
John Marino 2016-09-10 03:12:45 +00:00
parent 7ab14ab6a3
commit 00476b6726
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421652

View File

@ -44,6 +44,8 @@ IPV6_DESC= Enable IPv6 support
DEBUG_DESC= Build with debug enabled
DEBUG_HEXDUMP_DESC= Enable hexdump of sent and received traffic
SSL_USES= ssl
.include <bsd.port.options.mk>
CFLAGS_EXTRA=
@ -69,8 +71,7 @@ CFLAGS_EXTRA+=-DNS_ENABLE_HEXDUMP
.endif
.if ${PORT_OPTIONS:MSSL}
USE_OPENSSL= YES
CFLAGS_EXTRA+= -lssl
CFLAGS_EXTRA+= -I${OPENSSLINC} -L${OPENSSLLIB} -lssl
.endif
.if !empty(PORT_OPTIONS:MDAV) && empty(PORT_OPTIONS:MDIRECTORY_LISTING)