Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2016 03:43:34 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421975 - head/net-p2p/bitmessage
Message-ID:  <201609130343.u8D3hYVl057491@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Tue Sep 13 03:43:34 2016
New Revision: 421975
URL: https://svnweb.freebsd.org/changeset/ports/421975

Log:
  net-p2p/bitmessage: Set and honor SSL flags
  
  Approved by:	SSL blanket

Modified:
  head/net-p2p/bitmessage/Makefile

Modified: head/net-p2p/bitmessage/Makefile
==============================================================================
--- head/net-p2p/bitmessage/Makefile	Tue Sep 13 03:30:13 2016	(r421974)
+++ head/net-p2p/bitmessage/Makefile	Tue Sep 13 03:43:34 2016	(r421975)
@@ -21,9 +21,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	Bitmessage
 GH_PROJECT=	PyBitmessage
 
-USES=		python pyqt:4
+USES=		python pyqt:4 ssl
 NATIVE_POW_USES=gmake
-USE_OPENSSL=	yes
 INSTALLS_ICONS=	yes
 
 OPTIONS_DEFINE=	NATIVE_POW
@@ -34,7 +33,11 @@ OPTIONS_SUB=	yes
 .include <bsd.port.options.mk>
 
 post-patch:
-	${REINPLACE_CMD} -e 's|python2|${PYTHON_CMD}| ; s|share/man|man|' ${WRKSRC}/Makefile
+	${REINPLACE_CMD} -e 's|python2|${PYTHON_CMD}| ; s|share/man|man|' \
+		${WRKSRC}/Makefile
+	${REINPLACE_CMD} -e "s|\((CCFLAGS)\)|\1 -I${OPENSSLINC} |g" \
+		-e "s|\(-lcrypto\)|-L${OPENSSLLIB} \1|g" \
+		${WRKSRC}/src/bitmsghash/Makefile
 
 do-build:
 	@(cd ${WRKSRC} && \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609130343.u8D3hYVl057491>