diff options
author | arved <arved@FreeBSD.org> | 2011-07-21 02:11:31 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2011-07-21 02:11:31 +0800 |
commit | a5f4ab4c68130717d05e672649fd16b99c2ccc0e (patch) | |
tree | 4ec10509c2f9a20d8f7fb90559fa4d2b542545a1 /games/lincity | |
parent | f30b0275ab733c4ffe5d6df7bf8acd2adfdcc24d (diff) | |
download | freebsd-ports-gnome-a5f4ab4c68130717d05e672649fd16b99c2ccc0e.tar.gz freebsd-ports-gnome-a5f4ab4c68130717d05e672649fd16b99c2ccc0e.tar.zst freebsd-ports-gnome-a5f4ab4c68130717d05e672649fd16b99c2ccc0e.zip |
Enable c89 only conditional for clang
Reported by: pointyhat
Diffstat (limited to 'games/lincity')
-rw-r--r-- | games/lincity/Makefile | 6 |
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" \ |