Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2019 18:24:24 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r510969 - head/games/warzone2100
Message-ID:  <201909031824.x83IOOPH013667@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Sep  3 18:24:24 2019
New Revision: 510969
URL: https://svnweb.freebsd.org/changeset/ports/510969

Log:
  - Add USES=gl
  - Add USES=sdl
  - Fix build when CC/CXX contain full path to the compiler (e.g. when cross compiling with /nxb-bin/usr/bin/cc*)

Modified:
  head/games/warzone2100/Makefile

Modified: head/games/warzone2100/Makefile
==============================================================================
--- head/games/warzone2100/Makefile	Tue Sep  3 18:23:42 2019	(r510968)
+++ head/games/warzone2100/Makefile	Tue Sep  3 18:24:24 2019	(r510969)
@@ -24,8 +24,8 @@ LIB_DEPENDS=	libphysfs.so:devel/physfs \
 		libharfbuzz.so:print/harfbuzz
 RUN_DEPENDS=	${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu
 
-USES=		bison compiler:c++11-lib gmake localbase openal:al pkgconfig \
-		qmake:no_env qt:5 ssl tar:xz
+USES=		bison compiler:c++11-lib gl gmake localbase openal:al pkgconfig \
+		qmake:no_env qt:5 sdl ssl tar:xz
 GNU_CONFIGURE=	yes
 USE_GL=		gl glu glew
 USE_SDL=	sdl2
@@ -33,7 +33,8 @@ USE_XORG=	x11 xrandr
 USE_QT=		core gui widgets script buildtools_build
 CONFIGURE_ARGS=	--program-transform-name="" --with-distributor="FreeBSD ports"
 CONFIGURE_ENV=	LIBCRYPTO_CFLAGS="-I${OPENSSLINC}" \
-		LIBCRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto"
+		LIBCRYPTO_LIBS="-L${OPENSSLLIB} -lcrypto" \
+		CCOMPILER="${CC}" CXXCOMPILER="${CXX}"
 
 PORTDOCS=	*
 PORTDATA=	*



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