Date: Mon, 2 Jul 2018 03:08:57 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473698 - head/emulators/simh Message-ID: <201807020308.w6238vSs002453@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Mon Jul 2 03:08:57 2018 New Revision: 473698 URL: https://svnweb.freebsd.org/changeset/ports/473698 Log: Attempt to see if the build can be fixed on non-clang-based archs. Approved by: portmgr (tier-2 blanket) Modified: head/emulators/simh/Makefile Modified: head/emulators/simh/Makefile ============================================================================== --- head/emulators/simh/Makefile Mon Jul 2 03:08:02 2018 (r473697) +++ head/emulators/simh/Makefile Mon Jul 2 03:08:57 2018 (r473698) @@ -17,13 +17,11 @@ COMMENT= Emulates classic DEC, HP, GRI, IBM, Altair, S LICENSE= BSD3CLAUSE -BROKEN_powerpc64= fails to compile: cc1: error: unrecognized command line option "-Wno-logical-op-parentheses" - NO_WRKSUBDIR= yes USES= gmake dos2unix zip DOS2UNIX_GLOB= *.c *.h *.txt *.mak *.ini makefile -CFLAGS+= -Wno-format-extra-args -Wno-comment -Wno-logical-op-parentheses -Wno-bitwise-op-parentheses -Wno-shift-negative-value +CFLAGS+= -Wno-format-extra-args -Wno-comment MAKE_ENV= GCC="${CC}" CFLAGS_O="${CFLAGS}" USE_NETWORK=1 MAKEFILE= makefile @@ -34,6 +32,12 @@ PORTDOCS= ${READMES} pdf/* OPTIONS_DEFINE= DOCS +.include <bsd.port.pre.mk> + +.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv6 || ${ARCH} == armv7 || ${ARCH} == i386 +CFLAGS+= -Wno-logical-op-parentheses -Wno-bitwise-op-parentheses -Wno-shift-negative-value +.endif + pre-patch: @${MKDIR} ${WRKSRC}/BIN @@ -61,4 +65,4 @@ do-install-DOCS-on: (cd ${WRKSRC} && ${INSTALL_DATA} ${READMES} ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC} && ${COPYTREE_SHARE} pdf ${STAGEDIR}${DOCSDIR}) -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807020308.w6238vSs002453>