summaryrefslogtreecommitdiff
path: root/source/a/acpid
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/acpid')
-rwxr-xr-xsource/a/acpid/acpid.SlackBuild6
-rw-r--r--source/a/acpid/acpid.url1
2 files changed, 4 insertions, 3 deletions
diff --git a/source/a/acpid/acpid.SlackBuild b/source/a/acpid/acpid.SlackBuild
index 0b761d78..ce060f27 100755
--- a/source/a/acpid/acpid.SlackBuild
+++ b/source/a/acpid/acpid.SlackBuild
@@ -28,7 +28,7 @@ BUILD=${BUILD:-1}
MARCH=$( uname -m )
if [ -z "$ARCH" ]; then
case "$MARCH" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
armv7hl) export ARCH=$MARCH ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
@@ -42,8 +42,8 @@ PKG=$TMP/package-acpid
NUMJOBS=${NUMJOBS:--j8}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/source/a/acpid/acpid.url b/source/a/acpid/acpid.url
new file mode 100644
index 00000000..a49b7399
--- /dev/null
+++ b/source/a/acpid/acpid.url
@@ -0,0 +1 @@
+http://downloads.sourceforge.net/project/acpid2/acpid-$VERSION.tar.xz