svn commit: r545725 - head/mail/hashcash

Piotr Kubaj pkubaj at FreeBSD.org
Fri Aug 21 21:47:10 UTC 2020


Author: pkubaj
Date: Fri Aug 21 21:47:09 2020
New Revision: 545725
URL: https://svnweb.freebsd.org/changeset/ports/545725

Log:
  mail/hashcash: fix build on powerpc(64) with clang
  
  Switch to GCC to deal with assembly written specifically for GCC.

Modified:
  head/mail/hashcash/Makefile

Modified: head/mail/hashcash/Makefile
==============================================================================
--- head/mail/hashcash/Makefile	Fri Aug 21 21:32:23 2020	(r545724)
+++ head/mail/hashcash/Makefile	Fri Aug 21 21:47:09 2020	(r545725)
@@ -27,6 +27,12 @@ MAKE_ENV+=	STAGEDIR=${STAGEDIR}
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc || ${ARCH} == powerpc64
+USE_GCC=	any
+.endif
+
 post-patch-DOCS-off:
 	${REINPLACE_CMD} -e '/DOC_INSTALL_PATH/d' ${WRKSRC}/Makefile
 


More information about the svn-ports-all mailing list