aboutsummaryrefslogtreecommitdiff
path: root/games/lincity
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2011-07-20 18:11:31 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2011-07-20 18:11:31 +0000
commitdb906734090e3a4c0518d7fe1388762ef37f3771 (patch)
treec0e592a70d53a461c73ce0c94e4f20e32499b5ae /games/lincity
parent48ec8af43263c89b41d11da139332567be4252e8 (diff)
downloadports-db906734090e3a4c0518d7fe1388762ef37f3771.tar.gz
ports-db906734090e3a4c0518d7fe1388762ef37f3771.zip
Enable c89 only conditional for clang
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=278029
Diffstat (limited to 'games/lincity')
-rw-r--r--games/lincity/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/lincity/Makefile b/games/lincity/Makefile
index bebe8ac242e2..477abf324ac5 100644
--- a/games/lincity/Makefile
+++ b/games/lincity/Makefile
@@ -14,10 +14,12 @@ MASTER_SITES= SF/${PORTNAME}/Lincity%20Development%20Source/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Rich city simulation game for X
-USE_CSTD= c89
-
LIB_DEPENDS= png:${PORTSDIR}/graphics/png
+.if ${CC} == "clang"
+USE_CSTD= c89
+.endif
+
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \