svn commit: r421652 - head/www/mongoose

John Marino marino at FreeBSD.org
Sat Sep 10 03:12:47 UTC 2016


Author: marino
Date: Sat Sep 10 03:12:45 2016
New Revision: 421652
URL: https://svnweb.freebsd.org/changeset/ports/421652

Log:
  www/mongoose: Add CFLAGS and LDFLAGS for USES=ssl
  
  Approved by:	SSL blanket

Modified:
  head/www/mongoose/Makefile

Modified: head/www/mongoose/Makefile
==============================================================================
--- head/www/mongoose/Makefile	Sat Sep 10 03:05:36 2016	(r421651)
+++ head/www/mongoose/Makefile	Sat Sep 10 03:12:45 2016	(r421652)
@@ -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)


More information about the svn-ports-head mailing list