Date: Sun, 3 May 2020 23:44:14 +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: r533887 - head/security/masscan Message-ID: <202005032344.043NiEiX084064@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005032344.043NiEiX084064>