svn commit: r504167 - head/games/netradiant
Piotr Kubaj
pkubaj at FreeBSD.org
Fri Jun 14 07:15:07 UTC 2019
Author: pkubaj
Date: Fri Jun 14 07:15:06 2019
New Revision: 504167
URL: https://svnweb.freebsd.org/changeset/ports/504167
Log:
games/netradiant: fix build with GCC-based architectures
Add USES=compiler:c++11-lang to fix linking with boost.
Also replace ARCH on powerpc64 with powerpc to fix packaging.
While here, add USES=gl gnome localbase:ldflags.
PR: 237962
Approved by: danfe (maintainer timeout), mat (mentor)
Differential Revision: https://reviews.freebsd.org/D20612
Modified:
head/games/netradiant/Makefile
Modified: head/games/netradiant/Makefile
==============================================================================
--- head/games/netradiant/Makefile Fri Jun 14 07:13:01 2019 (r504166)
+++ head/games/netradiant/Makefile Fri Jun 14 07:15:06 2019 (r504167)
@@ -23,17 +23,13 @@ BROKEN_aarch64= fails to link: ldd: install/modules/a
BROKEN_armv6= fails to build: h2data.armv6: No such file or directory
BROKEN_armv7= fails to build: h2data.armv7: No such file or directory
-USES= gmake jpeg pkgconfig tar:bzip2
-USE_GL= gl
-USE_GNOME= gtk20 libxml2
+USES= compiler:c++11-lang gl gmake gnome jpeg localbase:ldflags \
+ pkgconfig tar:bzip2
MAKE_ENV= BUILD=release DOWNLOAD_GAMEPACKS=no LIBS_DL="" \
RADIANT_ABOUTMSG="For ${OPSYS} ${OSREL} (${ARCH})"
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
SUB_FILES= ${PORTNAME}
-SUB_LIST= ARCH=${ARCH}
+SUB_LIST= ARCH=${ARCH:S/powerpc64/powerpc/}
PLIST_SUB:= ${SUB_LIST}
post-patch:
More information about the svn-ports-all
mailing list