svn commit: r421980 - head/net-p2p/litecoin

John Marino marino at FreeBSD.org
Tue Sep 13 05:34:42 UTC 2016


Author: marino
Date: Tue Sep 13 05:34:41 2016
New Revision: 421980
URL: https://svnweb.freebsd.org/changeset/ports/421980

Log:
  net-p2p/litecoin: ignore when SSL_DEFAULT matches "libressl"
  
  If an attempt to build with LibreSSL is made, the configure script emits
  this message: configure: error: Detected LibreSSL:
    This is not supported, and may break consensus compatibility
  
  Go ahead and mark this port and its slaved with IGNORE when libressl is
  used to save the user the trouble of hitting the error later (this is
  also done by security/p5-openxpki)
  
  Approved by:	SSL blanket

Modified:
  head/net-p2p/litecoin/Makefile

Modified: head/net-p2p/litecoin/Makefile
==============================================================================
--- head/net-p2p/litecoin/Makefile	Tue Sep 13 05:33:11 2016	(r421979)
+++ head/net-p2p/litecoin/Makefile	Tue Sep 13 05:34:41 2016	(r421980)
@@ -92,6 +92,13 @@ LDFLAGS+=	-L${OPENSSLLIB}
 PLIST_FILES?=	bin/litecoin-qt share/applications/litecoin-qt.desktop \
 		share/pixmaps/litecoin128.png
 
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mlibressl*}
+# The configure script will output this message, so save the user the trouble
+IGNORE=	Detected LibreSSL: This is NOT supported, and may break consensus compatibility!
+.endif
+
 .if defined(SLAVE_PORT) && ${SLAVE_PORT} == "no"
 
 post-patch:
@@ -115,4 +122,4 @@ regression-test: build
 
 	@cd ${WRKSRC} && ${GMAKE} check
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the svn-ports-head mailing list