summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2016-01-18 09:01:58 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-20 01:47:59 +0700
commited96843993c9678d1975a46c8b56805ab6309864 (patch)
tree54d10a15c62346f98d7fd52d0cf2ce905c62dd14 /development
parent03815961c1f5f8b502d283bcd3bb8d80b2a3e64c (diff)
downloadslackbuilds-ed96843993c9678d1975a46c8b56805ab6309864.tar.gz
development/flow: Remove 14.1 hack.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/flow/flow.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/development/flow/flow.SlackBuild b/development/flow/flow.SlackBuild
index b837b36f9a..68fd7ccda5 100644
--- a/development/flow/flow.SlackBuild
+++ b/development/flow/flow.SlackBuild
@@ -24,12 +24,12 @@
PRGNAM=flow
VERSION=${VERSION:-0.20.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-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"
@@ -73,9 +73,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Need to remove this for Slackware 14.2
-sed -i "s|EXTRA_INCLUDE_PATHS=|EXTRA_INCLUDE_PATHS=/usr/include/libelf|" Makefile
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make