Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2019 07:15:06 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504167 - head/games/netradiant
Message-ID:  <201906140715.x5E7F6at081463@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906140715.x5E7F6at081463>