svn commit: r421975 - head/net-p2p/bitmessage

John Marino marino at FreeBSD.org
Tue Sep 13 03:43:35 UTC 2016


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} && \


More information about the svn-ports-head mailing list