svn commit: r421759 - head/net-p2p/mktorrent

John Marino marino at FreeBSD.org
Sun Sep 11 00:11:50 UTC 2016


Author: marino
Date: Sun Sep 11 00:11:48 2016
New Revision: 421759
URL: https://svnweb.freebsd.org/changeset/ports/421759

Log:
  net-p2p/mktorrent: Add SSL flags
  
  Approved by:	SSL blanket

Modified:
  head/net-p2p/mktorrent/Makefile

Modified: head/net-p2p/mktorrent/Makefile
==============================================================================
--- head/net-p2p/mktorrent/Makefile	Sat Sep 10 23:36:04 2016	(r421758)
+++ head/net-p2p/mktorrent/Makefile	Sun Sep 11 00:11:48 2016	(r421759)
@@ -24,6 +24,10 @@ THREADS_DESC=	Enable support for pthread
 OPENSSL_DESC=	Use OpenSSL for hashing
 HASHCHECK_DESC=	Verify file hashes
 
+OPENSSL_USES=		ssl
+OPENSSL_CFLAGS=		-I${OPENSSLINC}
+OPENSSL_LDFLAGS=	-L${OPENSSLLIB}
+
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MTHREADS}
@@ -32,7 +36,6 @@ MAKE_FLAGS+=	USE_PTHREADS=1
 
 .if ${PORT_OPTIONS:MOPENSSL}
 MAKE_FLAGS+=	USE_OPENSSL=1
-USE_OPENSSL=	yes
 .endif
 
 .if ! ${PORT_OPTIONS:MHASHCHECK}


More information about the svn-ports-head mailing list