diff options
author | B. Watson <yalhcru@gmail.com> | 2016-08-16 21:31:04 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-20 07:50:03 +0700 |
commit | 8e35ff1b621b7871a6626f4cda4987477635250f (patch) | |
tree | 1d818caf43731024bd3cb1cee0743ac1cbd46b97 /games/eduke32/eduke32.SlackBuild | |
parent | dc4d711c551201a3ab2ed6320794d28abc673346 (diff) |
games/eduke32: Fix SDL2=auto build.
Diffstat (limited to 'games/eduke32/eduke32.SlackBuild')
-rw-r--r-- | games/eduke32/eduke32.SlackBuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/games/eduke32/eduke32.SlackBuild b/games/eduke32/eduke32.SlackBuild index d0fb64ceec1f3..28fd4602732a7 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 |