aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2011-11-26 03:47:04 +0800
committerJuergen Lock <nox@FreeBSD.org>2011-11-26 03:47:04 +0800
commit1bd53c29eda3281587c40f09c478c91399124b02 (patch)
treef83051dcd9b2c38a0906a806001062e8bba1b657 /games
parent2f61b42187bc48c4f2d7a7f244f7256b90921f58 (diff)
downloadfreebsd-ports-gnome-1bd53c29eda3281587c40f09c478c91399124b02.tar.gz
freebsd-ports-gnome-1bd53c29eda3281587c40f09c478c91399124b02.tar.zst
freebsd-ports-gnome-1bd53c29eda3281587c40f09c478c91399124b02.zip
- Respect CFLAGS [1]
- Fix build with clang (I thought I did this already...) PR: ports/162864 [1] Submitted by: Jan Beich <jbeich@tormail.net> [1] Feature safe: yes
Diffstat (limited to 'games')
-rw-r--r--games/latrine/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/latrine/Makefile b/games/latrine/Makefile
index c6c631353c69..6b115060fe65 100644
--- a/games/latrine/Makefile
+++ b/games/latrine/Makefile
@@ -15,7 +15,9 @@ MAINTAINER= nox@FreeBSD.org
COMMENT= Curses-based LAnguage TRaINEr
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= "CFLAGS=-I${LOCALBASE}/include -I${WRKDIR} -D_XOPEN_SOURCE_EXTENDED" LDFLAGS=-L${LOCALBASE}/lib
+CPPFLAGS+= -I${LOCALBASE}/include -D_XOPEN_SOURCE_EXTENDED
+LDFLAGS+= -L${LOCALBASE}/lib
+USE_CSTD= gnu89
USE_GMAKE= yes
USE_GETTEXT= yes
USE_NCURSES= yes