summaryrefslogtreecommitdiff
path: root/games/eduke32/eduke32.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-08-16 21:31:04 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-20 07:50:03 +0700
commit8e35ff1b621b7871a6626f4cda4987477635250f (patch)
tree1d818caf43731024bd3cb1cee0743ac1cbd46b97 /games/eduke32/eduke32.SlackBuild
parentdc4d711c551201a3ab2ed6320794d28abc673346 (diff)
downloadslackbuilds-8e35ff1b621b7871a6626f4cda4987477635250f.tar.gz
games/eduke32: Fix SDL2=auto build.
Diffstat (limited to 'games/eduke32/eduke32.SlackBuild')
-rw-r--r--games/eduke32/eduke32.SlackBuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/games/eduke32/eduke32.SlackBuild b/games/eduke32/eduke32.SlackBuild
index d0fb64ceec..28fd460273 100644
--- a/games/eduke32/eduke32.SlackBuild
+++ b/games/eduke32/eduke32.SlackBuild
@@ -85,6 +85,7 @@ sed -i '/"Error: glGetTexLevelParameteriv/d' build/src/texcache.c
# SDL2 might be preferred for some users. Specifically, those of us
# who use a left-handed mouse (SDL1 gets the button mappings backwards).
SDL2=${SDL2:-auto}
+SDL_TARGET=1
if [ "$SDL2" = "auto" ]; then
sdl2-config --version >/dev/null && SDL_TARGET=2
elif [ "$SDL2" = "yes" ]; then