freebsd-ports/net-mgmt/ipv6calc/Makefile
Danilo G. Baio 5517f127ec net-mgmt/ipv6calc: Fix build with mips, mips64 and powerpc64
Base GCC doesn't support -Wno-unknown-warning-option.

PR:		232515	[1]
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl> [1]
Sponsored by:	IntegriCloud [1]
2018-10-24 22:52:17 +00:00

31 lines
681 B
Makefile

# Created by: Edwin Groothuis <edwin@mavetju.org>
# $FreeBSD$
PORTNAME= ipv6calc
PORTVERSION= 1.1.0
CATEGORIES= net-mgmt ipv6
MASTER_SITES= ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/
MAINTAINER= dbaio@FreeBSD.org
COMMENT= Convert, change, and calculate with IPv6 addresses
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake perl5 shebangfix ssl
GNU_CONFIGURE= yes
SHEBANG_FILES= tools/*.pl tools/*.sh.in
.include <bsd.port.pre.mk>
.if !(${ARCH:Mmips*} || ${ARCH:Mpowerpc*} || ${ARCH} == sparc64)
CFLAGS+= -Wno-unknown-warning-option
.else
CFLAGS+= -Wno-uninitialized
.endif
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
.include <bsd.port.post.mk>