mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
emulators/aranym: Fix build with llvm16
Previous fix by the MAINTAINER actually do not work and it still fails to build. Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
3d95151c2e
commit
270b10e23e
@ -20,7 +20,6 @@ USES= gmake jpeg perl5 pkgconfig gl localbase:ldflags sdl shebangfix xorg
|
||||
USE_GL= gl
|
||||
USE_SDL= sdl2 image2
|
||||
USE_XORG= x11
|
||||
USE_CXXSTD= c++14 # work around error: ISO C++17 does not allow 'register' storage class specifier, see https://github.com/aranym/aranym/issues/106
|
||||
|
||||
SHEBANG_FILES= tools/arabridge
|
||||
|
||||
@ -29,4 +28,10 @@ CONFIGURE_ARGS= -disable-nat-debug --disable-nat-debug --enable-nfjpeg
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CPPFLAGS+= -Dregister=
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user