diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2018-07-02 03:08:57 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2018-07-02 03:08:57 +0000 |
commit | 83fac84d499abb25f1d93b9cce214a6daeca6e7d (patch) | |
tree | d31d8117224f04de3bb6c2c2d79ee00d7ad8ff95 /emulators/simh | |
parent | 7f2f5f55ac938c50ff2246e5b9e3a3c6479337b6 (diff) | |
download | ports-83fac84d499abb25f1d93b9cce214a6daeca6e7d.tar.gz ports-83fac84d499abb25f1d93b9cce214a6daeca6e7d.zip |
Notes
Diffstat (limited to 'emulators/simh')
-rw-r--r-- | emulators/simh/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/emulators/simh/Makefile b/emulators/simh/Makefile index 6f735ad010bc..03070f68f9e4 100644 --- a/emulators/simh/Makefile +++ b/emulators/simh/Makefile @@ -17,13 +17,11 @@ COMMENT= Emulates classic DEC, HP, GRI, IBM, Altair, SDS, Honeywell, and others 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> |