aboutsummaryrefslogtreecommitdiffstats
path: root/games/latrine
diff options
context:
space:
mode:
authornox <nox@FreeBSD.org>2011-11-26 03:47:04 +0800
committernox <nox@FreeBSD.org>2011-11-26 03:47:04 +0800
commitf224e27097fa18621ab27f04441d600cf0851b52 (patch)
treedf426747b42416a85c92b22a4b605734d5504b1e /games/latrine
parente809d64dc339647b08c42db0b0f4c2656a7734f3 (diff)
downloadfreebsd-ports-gnome-f224e27097fa18621ab27f04441d600cf0851b52.tar.gz
freebsd-ports-gnome-f224e27097fa18621ab27f04441d600cf0851b52.tar.zst
freebsd-ports-gnome-f224e27097fa18621ab27f04441d600cf0851b52.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/latrine')
-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