aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-02-05 11:30:43 +0800
committerjbeich <jbeich@FreeBSD.org>2017-02-05 11:30:43 +0800
commit049a660184fe081f435600236d94e8eb485d18aa (patch)
tree93388284748ce0e6799cc1c2ccd614f91eb18dd6 /games
parentf1fb85dfbddad16ab6f072ec8706abdc653cd615 (diff)
downloadfreebsd-ports-gnome-049a660184fe081f435600236d94e8eb485d18aa.tar.gz
freebsd-ports-gnome-049a660184fe081f435600236d94e8eb485d18aa.tar.zst
freebsd-ports-gnome-049a660184fe081f435600236d94e8eb485d18aa.zip
Prefer -std=gnu89 over -fgnu89-inline
Diffstat (limited to 'games')
-rw-r--r--games/openbor/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/games/openbor/Makefile b/games/openbor/Makefile
index 7a3c8b6cb325..a9b33ecbcfe9 100644
--- a/games/openbor/Makefile
+++ b/games/openbor/Makefile
@@ -20,14 +20,13 @@ LIB_DEPENDS= libpng.so:graphics/png \
libvpx.so:multimedia/libvpx
USES= gmake pkgconfig tar:xz
+USE_CSTD= gnu89
USE_SDL= gfx2
MAKE_ENV= BUILD_LINUX=1 SDKPATH="${LOCALBASE}" \
GCC_TARGET="${CONFIGURE_TARGET:S/amd64/x86_64/}"
MAKE_ARGS= CC="${CC}" LIBRARIES="${LOCALBASE}/lib" \
TARGET_ARCH=${ARCH:S/i386/x86/} ARCHFLAGS="" \
TARGET_FINAL='${TARGET}' BUILD_MMX="" ECHO="${ECHO}"
-CFLAGS+= -fgnu89-inline ${CFLAGS_${OPSYS}}
-CFLAGS_DragonFly= -D_GCC_MAX_ALIGN_T # system stddef.h
LDFLAGS+= -Wl,--as-needed # ogg, pthread, zlib
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png