aboutsummaryrefslogtreecommitdiffstats
path: root/games/scourge
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-11-06 22:24:27 +0800
committermnag <mnag@FreeBSD.org>2005-11-06 22:24:27 +0800
commit832a5d88ed67abc54f858fe64e1d72a78862e330 (patch)
treec02804d3695c324d9bdd809470ff04021a878618 /games/scourge
parentc0dd8a99559d11fa17453676cd14e375942f0b92 (diff)
downloadfreebsd-ports-gnome-832a5d88ed67abc54f858fe64e1d72a78862e330.tar.gz
freebsd-ports-gnome-832a5d88ed67abc54f858fe64e1d72a78862e330.tar.zst
freebsd-ports-gnome-832a5d88ed67abc54f858fe64e1d72a78862e330.zip
Respect LOCALBASE and X11BASE
PR: 88531 Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> (maintainer)
Diffstat (limited to 'games/scourge')
-rw-r--r--games/scourge/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/scourge/Makefile b/games/scourge/Makefile
index f26bbef1386e..c207ecc041f7 100644
--- a/games/scourge/Makefile
+++ b/games/scourge/Makefile
@@ -17,12 +17,15 @@ COMMENT= S.C.O.U.R.G.E. is a rogue-like game
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
USE_X_PREFIX= yes
-USE_GL= yes
+USE_GL= yes
USE_SDL= sdl mixer net
USE_GMAKE= yes
USE_GCC= 3.3+
GNU_CONFIGURE= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}
+CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+WRKSRC= ${WRKDIR}/${PORTNAME}
CONFIGURE_ARGS= --with-data-dir=${DATADIR}