aboutsummaryrefslogtreecommitdiff
path: root/development/xvile/xvile.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/xvile/xvile.SlackBuild')
-rw-r--r--development/xvile/xvile.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/development/xvile/xvile.SlackBuild b/development/xvile/xvile.SlackBuild
index fcc94b54349c..54ad1ccaa3da 100644
--- a/development/xvile/xvile.SlackBuild
+++ b/development/xvile/xvile.SlackBuild
@@ -25,7 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xvile
-VERSION=${VERSION:-9.8r}
+VERSION=${VERSION:-9.8s}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -33,7 +33,7 @@ SRCNAM=vile
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -44,8 +44,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"
@@ -86,6 +86,9 @@ CXXFLAGS="$SLKCFLAGS" \
--with-app-defaults=/etc/X11/app-defaults \
--build=$ARCH-slackware-linux
+patch -p1 <$CWD/patches/inputhint.patch
+patch -p1 <$CWD/patches/sh-filt.patch
+
make
make DESTDIR=$PKG docdir=/usr/doc/$PRGNAM-$VERSION install install-doc