summaryrefslogtreecommitdiff
path: root/games/eduke32/eduke32.SlackBuild
diff options
context:
space:
mode:
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