summaryrefslogtreecommitdiff
path: root/libraries/fox-toolkit/fox-toolkit.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2010-05-23 00:37:42 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-23 23:21:43 -0500
commit9141ce8376408dc9b519023e4076bf367c3533cd (patch)
treee3935aca5fef17cb403139b5b3fcd391b4898719 /libraries/fox-toolkit/fox-toolkit.SlackBuild
parent86d5f64533be83130cb1869a6eec7e98d7f76ae0 (diff)
downloadslackbuilds-9141ce8376408dc9b519023e4076bf367c3533cd.tar.gz
libraries/fox-toolkit: Miscellaneous cleanups.
Diffstat (limited to 'libraries/fox-toolkit/fox-toolkit.SlackBuild')
-rw-r--r--libraries/fox-toolkit/fox-toolkit.SlackBuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/libraries/fox-toolkit/fox-toolkit.SlackBuild b/libraries/fox-toolkit/fox-toolkit.SlackBuild
index 9c6f5dd6e3..a665afd5f7 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-2010 Robby Workman, Northport, AL, USA
+# Copyright 2006,2007,2008,2009,2010 Robby Workman, Northport, AL, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,10 +24,19 @@
PRGNAM=fox-toolkit
VERSION=1.6.37
-ARCH=${ARCH:-i486}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+# Automatically determine the architecture we're building on:
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) export ARCH=i486 ;;
+ arm*) export ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
+ *) export ARCH=$( uname -m ) ;;
+ esac
+fi
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -75,9 +84,6 @@ if [ "$OPENGL" = "YES" ]; then
do_opengl="no"
fi
-# Uncomment this line to build on -current
-#patch -p1 < $CWD/FXint-no_inline.diff
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \