aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@fuz.su>2022-08-04 05:59:22 +0000
committerFernando ApesteguĂ­a <fernape@FreeBSD.org>2022-08-05 05:54:21 +0000
commit9df2db274cc6c2ad040ea8ce7e18c22869c3a9fb (patch)
treef569e93ec6e9331047289d5dd3f3924befe055c5
parente1aea0c5d0053ca7e1872cbf6bad47beb0d28ca6 (diff)
downloadports-9df2db274cc6c2ad040ea8ce7e18c22869c3a9fb.tar.gz
ports-9df2db274cc6c2ad040ea8ce7e18c22869c3a9fb.zip
emulators/darcnes: fix build on recent FreeBSD
The port requires GNU89 semantics. PR: 265586 Reported by: fuz@fuz.su (maintainer)
-rw-r--r--emulators/darcnes/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/emulators/darcnes/Makefile b/emulators/darcnes/Makefile
index f33189046b55..ec48587e1348 100644
--- a/emulators/darcnes/Makefile
+++ b/emulators/darcnes/Makefile
@@ -1,6 +1,6 @@
PORTNAME= darcnes
PORTVERSION= 9b0401
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= emulators
MASTER_SITES= http://www.dridus.com/~nyef/darcnes/download/ \
LOCAL/grembo
@@ -19,7 +19,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USES= gmake tar:tgz
MAKE_ARGS= CC="${CC}" TARGET_CC="${CC}" CXX="${CXX}" TARGET_CXX="${CXX}" \
- AS="${AS}" TARGET_AS="${CC}" LD="${LD}" TARGET_LD="${CC}"
+ AS="${AS}" TARGET_AS="${CC}" LD="${CC}" TARGET_LD="${CC}"
+TEST_TARGET= tests
+CFLAGS+= -std=gnu89
PLIST_FILES= bin/darcnes
PORTDOCS= readme