diff --git a/games/dxx-rebirth/Makefile b/games/dxx-rebirth/Makefile index 83e85923d919..a56373a3358c 100644 --- a/games/dxx-rebirth/Makefile +++ b/games/dxx-rebirth/Makefile @@ -1,46 +1,47 @@ PORTNAME= dxx-rebirth PORTVERSION= 20231232 CATEGORIES= games MAINTAINER= pkubaj@FreeBSD.org COMMENT= Open source port of Descent and Descent 2 WWW= https://www.dxx-rebirth.com/ LICENSE= GPLv3 PARALLAX LICENSE_COMB= multi LICENSE_NAME_PARALLAX= original Parallax license LICENSE_FILE_GPLv3= ${WRKSRC}/GPL-3.txt LICENSE_FILE_PARALLAX= ${WRKSRC}/COPYING.txt LICENSE_PERMS_PARALLAX= dist-mirror pkg-mirror auto-accept BUILD_DEPENDS= as:devel/binutils LIB_DEPENDS= libphysfs.so:devel/physfs \ libpng.so:graphics/png USES= gl localbase:ldflags pkgconfig scons sdl tar:xz USE_GL= gl glu USE_GITHUB= yes GH_TAGNAME= 4efe4c9 USE_SDL= image2 mixer2 sdl2 MAKE_ARGS= ignore_unknown_variables=1 sdl2=1 PLIST_FILES= bin/d1x-rebirth \ bin/d2x-rebirth .include .if ${ARCH} != riscv64 MAKE_ARGS+= lto=1 .endif .if ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc CXXFLAGS+= -Wno-error=missing-field-initializers -Wno-error=maybe-uninitialized -USES+= compiler:gcc-c++11-lib +USES+= compiler:c++11-lib +USE_GCC= 12 .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/d1x-rebirth \ ${STAGEDIR}${PREFIX}/bin/d2x-rebirth .include