summaryrefslogtreecommitdiffstats
path: root/games/stratagus
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-09-30 11:00:20 +0000
committermiwi <miwi@FreeBSD.org>2006-09-30 11:00:20 +0000
commitea29fe14f8c279b620bf90f16527fa139b10f22b (patch)
treeae834512f64e35995c91075ab91b1dc2b56289e3 /games/stratagus
parentcd2ed3aadc800a41654b5e6d840c17256ca0e055 (diff)
downloadFreeBSD-ports-ea29fe14f8c279b620bf90f16527fa139b10f22b.zip
FreeBSD-ports-ea29fe14f8c279b620bf90f16527fa139b10f22b.tar.gz
- Fix compile time errors
PR: ports/103795 Submitted by: Iasen Kostof Approved by: Travis Poppe <tlp(at)liquidx.org> (maintainer)
Diffstat (limited to 'games/stratagus')
-rw-r--r--games/stratagus/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/stratagus/Makefile b/games/stratagus/Makefile
index beeb135..408bf5a 100644
--- a/games/stratagus/Makefile
+++ b/games/stratagus/Makefile
@@ -23,9 +23,10 @@ USE_LUA= 5.0
USE_SDL= yes
USE_XLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include -I${LUA_INCDIR}
-LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -L${LUA_LIBDIR}
+CFLAGS= -I${LUA_INCDIR}
+LDFLAGS= -L${LUA_LIBDIR}
+CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
+ EXTRA_CFLAGS="${CFLAGS}" EXTRA_LIBS="${LDFLAGS}"
WRKSRC= ${WRKDIR}/stratagus-040702
OPTIONS= OPENGL "Enable OpenGL support" on \
OpenPOWER on IntegriCloud