svn commit: r482942 - head/net-mgmt/ipv6calc
Danilo G. Baio
dbaio at FreeBSD.org
Wed Oct 24 22:52:18 UTC 2018
Author: dbaio
Date: Wed Oct 24 22:52:17 2018
New Revision: 482942
URL: https://svnweb.freebsd.org/changeset/ports/482942
Log:
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 at anongoth.pl> [1]
Sponsored by: IntegriCloud [1]
Modified:
head/net-mgmt/ipv6calc/Makefile
Modified: head/net-mgmt/ipv6calc/Makefile
==============================================================================
--- head/net-mgmt/ipv6calc/Makefile Wed Oct 24 22:17:03 2018 (r482941)
+++ head/net-mgmt/ipv6calc/Makefile Wed Oct 24 22:52:17 2018 (r482942)
@@ -12,17 +12,20 @@ COMMENT= Convert, change, and calculate with IPv6 addr
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_mips= fails to build: libipv6addr.c: addr_test_method may be used uninitialized in this function
-BROKEN_mips64= fails to build: libipv6addr.c: addr_test_method may be used uninitialized in this function
-BROKEN_powerpc64= fails to build: libipv6addr.c: addr_test_method may be used uninitialized in this function
-
USES= gmake perl5 shebangfix ssl
GNU_CONFIGURE= yes
-CFLAGS+= -Wno-unknown-warning-option
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.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list