aboutsummaryrefslogtreecommitdiff
path: root/games/stonesoup
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2012-12-05 14:05:44 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2012-12-05 14:05:44 +0000
commitdb6ec5b0944a604a968ae926957ad9b037f9b580 (patch)
tree47de34cc11fa18a56e8b17cc8837d59926218de5 /games/stonesoup
parent32c2a3d1a11be77ca9b1188a7087ca6157726195 (diff)
downloadports-db6ec5b0944a604a968ae926957ad9b037f9b580.tar.gz
ports-db6ec5b0944a604a968ae926957ad9b037f9b580.zip
Notes
Diffstat (limited to 'games/stonesoup')
-rw-r--r--games/stonesoup/Makefile24
-rw-r--r--games/stonesoup/distinfo4
2 files changed, 24 insertions, 4 deletions
diff --git a/games/stonesoup/Makefile b/games/stonesoup/Makefile
index a60015717ced..8d18d27ce28e 100644
--- a/games/stonesoup/Makefile
+++ b/games/stonesoup/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= stonesoup
-PORTVERSION= 0.11.0
+PORTVERSION= 0.11.1
CATEGORIES= games
MASTER_SITES= SF/crawl-ref/Stone%20Soup/${PORTVERSION}
DISTNAME= stone_soup-${PORTVERSION}-nodeps
@@ -52,7 +52,27 @@ MAKE_ARGS= prefix=${PREFIX} \
.include <bsd.port.options.mk>
-.if ${CC:T:M*clang*}
+.if !defined(COMPILER_TYPE)
+.if ${CC:T:Mgcc*}
+COMPILER_TYPE:= gcc
+.elif ${CC:T:Mclang}
+COMPILER_TYPE:= clang
+.elif ${CC:T} == "cc"
+_COMPILER_VERSION!= ${CC} --version
+.if ${_COMPILER_VERSION:Mgcc}
+COMPILER_TYPE:= gcc
+.elif ${_COMPILER_VERSION:M\(GCC\)}
+COMPILER_TYPE:= gcc
+.elif ${_COMPILER_VERSION:Mclang}
+COMPILER_TYPE:= clang
+.endif
+.undef _COMPILER_VERSION
+.else
+COMPILER_TYPE:= ${CC:T}
+.endif
+.endif
+
+.if ${COMPILER_TYPE} == "clang"
MAKE_ARGS+= NO_INLINE_DEPGEN=1
.endif
diff --git a/games/stonesoup/distinfo b/games/stonesoup/distinfo
index ed65b6cb8a09..ca176cca9441 100644
--- a/games/stonesoup/distinfo
+++ b/games/stonesoup/distinfo
@@ -1,2 +1,2 @@
-SHA256 (stone_soup-0.11.0-nodeps.tar.xz) = 2a39307c9f88608ee2a33d3b831c51d9190c91ccdedadececda5edae6dd69002
-SIZE (stone_soup-0.11.0-nodeps.tar.xz) = 7516360
+SHA256 (stone_soup-0.11.1-nodeps.tar.xz) = 377d738cff21165763b252a57cd84049361d44db6d8d10f08f789cc9e7bb82b6
+SIZE (stone_soup-0.11.1-nodeps.tar.xz) = 7519768