aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-07-28 07:29:00 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-07-28 07:29:00 +0000
commite445c5934289cbaec9aa83f026b58c8639e7757b (patch)
tree2ca0142421b3ec6bbc136ec58c5301fd52e6f075
parentba85afb20e268fb794afb51c32a81f35e3091387 (diff)
downloadports-e445c5934289cbaec9aa83f026b58c8639e7757b.tar.gz
ports-e445c5934289cbaec9aa83f026b58c8639e7757b.zip
Notes
-rw-r--r--games/marsnomercy/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/marsnomercy/Makefile b/games/marsnomercy/Makefile
index 864466dbf3a5..e0cf160fba2f 100644
--- a/games/marsnomercy/Makefile
+++ b/games/marsnomercy/Makefile
@@ -3,7 +3,7 @@
PORTNAME= marsnomercy
PORTVERSION= 0.2.1
-PORTREVISION= 12
+PORTREVISION= 13
CATEGORIES= games
MASTER_SITES= SF/mars/mars/${PORTVERSION}
DISTNAME= mars-${PORTVERSION}-src
@@ -14,11 +14,15 @@ COMMENT= Turn-based strategy game setting on Mars
LICENSE= GPLv2 # version unspecified actually
BUILD_DEPENDS= scons:devel/scons
+LIB_DEPENDS= libpng.so:graphics/png
+USES= compiler
USE_GL= gl
USE_SDL= sdl image ttf
SCONS_ARGS= prefix=${PREFIX}
+CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
+CXXFLAGS_clang= -Wno-c++11-narrowing
SUB_FILES= mars-nomercy pkg-message
WRKSRC= ${WRKDIR}/mars-${PORTVERSION}