diff options
Diffstat (limited to 'development/scite/scite.SlackBuild')
-rw-r--r-- | development/scite/scite.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/development/scite/scite.SlackBuild b/development/scite/scite.SlackBuild index 12198cfb24..6a9343b42c 100644 --- a/development/scite/scite.SlackBuild +++ b/development/scite/scite.SlackBuild @@ -1,10 +1,9 @@ #!/bin/sh - # Slackware build script for SciTE # Written by Iskar Enev <iskar.enev[@]gmail.com> PRGNAM=scite -VERSION=1.76 +VERSION=1.77 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -15,9 +14,11 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" + SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi set -e @@ -40,6 +41,7 @@ cd $TMP/scite/gtk sed -i "s%CXXBASEFLAGS=-W -Wall -Wno-char-subscripts -pedantic -Os %CXXBASEFLAGS=-W -Wall -Wno-char-subscripts -pedantic %" makefile sed -i "s%CXXTFLAGS=-DNDEBUG -Os %CXXTFLAGS=-DNDEBUG $SLKCFLAGS %" makefile sed -i "s%INSTALL=install -o root -g root%INSTALL=install%" makefile + make prefix=/usr make install DESTDIR=$PKG |