Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 2020 21:47:09 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r545725 - head/mail/hashcash
Message-ID:  <202008212147.07LLl9QR077998@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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