svn commit: r533887 - head/security/masscan
Piotr Kubaj
pkubaj at FreeBSD.org
Sun May 3 23:44:14 UTC 2020
Author: pkubaj
Date: Sun May 3 23:44:13 2020
New Revision: 533887
URL: https://svnweb.freebsd.org/changeset/ports/533887
Log:
security/masscan: fix build on powerpc(64) head
Use GCC instead of clang:
/usr/lib/clang/10.0.0/include/mmintrin.h:525:12: error: invalid conversion between vector type '__m64' (vector of 1 'long long' value) and integer type 'int' of different size
Modified:
head/security/masscan/Makefile
Modified: head/security/masscan/Makefile
==============================================================================
--- head/security/masscan/Makefile Sun May 3 22:46:53 2020 (r533886)
+++ head/security/masscan/Makefile Sun May 3 23:44:13 2020 (r533887)
@@ -18,6 +18,12 @@ MAKE_ARGS= SYS=freebsd CC="${CC}" CFLAGS="${CFLAGS}"
PLIST_FILES= bin/masscan man/man8/masscan.8.gz
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc64 || ${ARCH} == powerpc
+USE_GCC= any
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/masscan ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/masscan.8 ${STAGEDIR}${MANPREFIX}/man/man8
More information about the svn-ports-head
mailing list