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 -.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