summaryrefslogtreecommitdiff
path: root/development/acpica/acpica.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-07-20 08:46:20 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-21 01:43:05 -0500
commit85fcc760697384ba2e63a0c56897cf56985d3c5e (patch)
treeb32a400af292d1c1dcf09ff89a266d99d6a20bc3 /development/acpica/acpica.SlackBuild
parent43f998d8451681da8e8b27dcd96b4684430ff45e (diff)
downloadslackbuilds-85fcc760697384ba2e63a0c56897cf56985d3c5e.tar.gz
development/acpica: Updated for version 20100702.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'development/acpica/acpica.SlackBuild')
-rw-r--r--development/acpica/acpica.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/development/acpica/acpica.SlackBuild b/development/acpica/acpica.SlackBuild
index 275785695a..b108b35972 100644
--- a/development/acpica/acpica.SlackBuild
+++ b/development/acpica/acpica.SlackBuild
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=acpica
-VERSION=20100304
+VERSION=20100702
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -68,6 +66,7 @@ chown -R root:root .
chmod -R u+w,go+r-w,a-s .
cd compiler
+ sed -i "s|/components||" Makefile
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make MAKEFLAGS="-j1"
@@ -75,6 +74,10 @@ cd compiler
make clean
cd -
+# fix wrong paths in Makefile
+sed -i "s|/../source||" tools/acpiexec/Makefile
+sed -i "s|/components||" tools/acpiexec/Makefile
+
for i in acpiexec acpisrc acpixtract; do
cd tools/$i
CFLAGS="$SLKCFLAGS" \