aboutsummaryrefslogtreecommitdiffstats
path: root/games/lincity/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/lincity/Makefile')
-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" \