1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/security/masscan/Makefile
Piotr Kubaj 3b14272fb7 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
2020-05-03 23:44:13 +00:00

35 lines
706 B
Makefile

# Created by: Chie Taguchi <taguchi.ch@gmail.com>
# $FreeBSD$
PORTNAME= masscan
PORTVERSION= 1.0.4
CATEGORIES= security
MAINTAINER= taguchi.ch@gmail.com
COMMENT= Very fast port scanner
LICENSE= GPLv3
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= robertdavidgraham
CFLAGS+= -Wno-format
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
do-test:
${WRKSRC}/bin/masscan --selftest
.include <bsd.port.mk>