summaryrefslogtreecommitdiff
path: root/games/openbor
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-03-06 02:55:13 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-03-06 02:55:13 +0000
commit502a65584071431b36ddcd0de27d724860d08bfd (patch)
tree149603e1c51fd40433cc329c301e68a4ffb759f6 /games/openbor
parent5060b524f9ec1bde504299c9b9cb845b266da005 (diff)
downloadfreebsd-ports-502a65584071431b36ddcd0de27d724860d08bfd.zip
games/openbor: unbreak with GCC 4.2
cc1: error: unrecognized command line option "-Wno-unused-result" Reported by: pkg-fallout
Diffstat (limited to 'games/openbor')
-rw-r--r--games/openbor/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/games/openbor/Makefile b/games/openbor/Makefile
index e5b818aadfb2..f4ad8594ec63 100644
--- a/games/openbor/Makefile
+++ b/games/openbor/Makefile
@@ -81,6 +81,7 @@ post-patch:
@${REINPLACE_CMD} -e 's/ -O[0-9]//; s/ -g//; s/ -Werror//' \
-e 's/ -fomit-frame-pointer//' \
-e 's/ -freorder-blocks//' \
+ -e 's/ -Wno-unused-result//' \
-e 's/ -Wl,-rpath,$$(LIBRARIES)//' \
-e '/echo/!s/ @/ /' \
-e 's/@echo/@$$(ECHO)/' \