aboutsummaryrefslogtreecommitdiff
path: root/libraries/fox-toolkit/fox-toolkit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/fox-toolkit/fox-toolkit.SlackBuild')
-rw-r--r--libraries/fox-toolkit/fox-toolkit.SlackBuild21
1 files changed, 3 insertions, 18 deletions
diff --git a/libraries/fox-toolkit/fox-toolkit.SlackBuild b/libraries/fox-toolkit/fox-toolkit.SlackBuild
index 0377a334ea96..fb528def1ed7 100644
--- a/libraries/fox-toolkit/fox-toolkit.SlackBuild
+++ b/libraries/fox-toolkit/fox-toolkit.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fox-toolkit
-# Copyright 2006-2011 Robby Workman, Northport, AL, USA
+# Copyright 2006-2012 Robby Workman, Northport, AL, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fox-toolkit
-VERSION=1.6.43
+VERSION=${VERSION:-1.6.46}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,14 +42,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# If you have a video card that supports hardware accelerated OpenGL,
-# then set the variable below to "YES" - otherwise, "NO"
-# This can be specified on the command line when calling the build script:
-# OPENGL=NO ./fox-toolkit.SlackBuild
-# It is probably safe to leave this enabled even if you only have software
-# "mesa" rendering. If you encounter problems or slowdown, let us know.
-OPENGL=${OPENGL:-YES}
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -79,13 +71,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# If OPENGL=YES above, then enable opengl; otherwise, disable it.
-if [ "$OPENGL" = "YES" ]; then
- do_opengl="yes"
- else
- do_opengl="no"
-fi
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -94,7 +79,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \
--enable-static=no \
- --with-opengl=${do_opengl} \
+ --with-opengl=yes \
--with-xft \
--enable-release \
--build=$ARCH-slackware-linux