summaryrefslogtreecommitdiffstats
path: root/wine
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-09-20 00:02:57 +0000
committer Eric Hameleers <alien@slackware.com>2015-09-20 00:02:57 +0000
commitf5ead4a805bb16da0a46d2e3c50e594a93e19b4d (patch)
tree2ff5242f1b9d09c2b490ab730a97031db832ef59 /wine
parent423c7a7c0d8ae027be86f0278fb4300469ca0c98 (diff)
downloadasb-f5ead4a805bb16da0a46d2e3c50e594a93e19b4d.tar.gz
asb-f5ead4a805bb16da0a46d2e3c50e594a93e19b4d.tar.xz
wine: be more robust with the configure options
Diffstat (limited to 'wine')
-rwxr-xr-xwine/build/wine.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/wine/build/wine.SlackBuild b/wine/build/wine.SlackBuild
index fc08f18c..62b35e21 100755
--- a/wine/build/wine.SlackBuild
+++ b/wine/build/wine.SlackBuild
@@ -351,15 +351,15 @@ if [ "$ARCH" = "x86_64" -a "$DO_WINE64" = "yes" ]; then
fi
if [ "${OPENGL}" = "YES" -o "${OPENGL}" = "yes" ]; then
- do_opengl=""
+ DO_GL="--with-opengl"
else
- do_opengl="out"
+ DO_GL="--without-opengl"
fi
-if [ "$USE_NINE" = "YES" ]; then
- do_nine=""
+if [ "$USE_NINE" = "YES" -o "$USE_NINE" = "yes" ]; then
+ DO_NINE="--with-d3dadapter"
else
- do_nine="out"
+ DO_NINE=""
fi
export CCAS="as"
@@ -378,8 +378,8 @@ function wineconfigure ()
--sysconfdir=/etc \
--mandir=/usr/man \
--with-x \
- --with${do_opengl}-opengl \
- --with${do_nine}-d3dadapter \
+ ${DO_GL} \
+ ${DO_NINE} \
--program-prefix= \
--program-suffix= \
--build=$TARGET \