svn commit: r510969 - head/games/warzone2100
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Sep 3 18:24:25 UTC 2019
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= *
More information about the svn-ports-head
mailing list