aboutsummaryrefslogtreecommitdiffstats
path: root/games/heretic/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-04-18 01:58:38 +0800
committersobomax <sobomax@FreeBSD.org>2002-04-18 01:58:38 +0800
commitc03d98210d4f54844510b074309fe6cc156d2b4d (patch)
tree435e6cfedf5b0afa6611fb078e54e24def4b233e /games/heretic/Makefile
parentee1d8e804492039b3affe4ffea701cfaacc1824d (diff)
downloadfreebsd-ports-gnome-c03d98210d4f54844510b074309fe6cc156d2b4d.tar.gz
freebsd-ports-gnome-c03d98210d4f54844510b074309fe6cc156d2b4d.tar.zst
freebsd-ports-gnome-c03d98210d4f54844510b074309fe6cc156d2b4d.zip
When WITH_SDL is defined use devel/sdl12 instead of devel/sdl10.
Diffstat (limited to 'games/heretic/Makefile')
-rw-r--r--games/heretic/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/heretic/Makefile b/games/heretic/Makefile
index 6c5439eaaad0..0dee74e51641 100644
--- a/games/heretic/Makefile
+++ b/games/heretic/Makefile
@@ -33,7 +33,10 @@ BINARY= xaheretic
.if defined(WITH_SDL)
ALL_TARGET= sdl
BINARY= sdlheretic
+SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
LIB_DEPENDS= SDL-1.0.2:${PORTSDIR}/devel/sdl10
+MAKE_ENV+= SDL_CONFIG="${SDL_CONFIG}"
+CFLAGS+= `${SDL_CONFIG} --cflags`
.endif
.if defined(WITHOUT_WAD)