summaryrefslogtreecommitdiff
path: root/system/rxvt-unicode/rxvt-unicode.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/rxvt-unicode/rxvt-unicode.SlackBuild')
-rw-r--r--system/rxvt-unicode/rxvt-unicode.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/system/rxvt-unicode/rxvt-unicode.SlackBuild b/system/rxvt-unicode/rxvt-unicode.SlackBuild
index 23594b018f..2669677bca 100644
--- a/system/rxvt-unicode/rxvt-unicode.SlackBuild
+++ b/system/rxvt-unicode/rxvt-unicode.SlackBuild
@@ -22,10 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Updated by Andrew Brouwers, abrouwers@gmail.com
-
PRGNAM=rxvt-unicode
-VERSION=8.9
+VERSION="9.06"
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,6 +39,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -90,7 +90,9 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-pointer-blank \
--enable-utmp \
--enable-wtmp \
- --enable-lastlog
+ --enable-lastlog \
+ --build=$ARCH-slackware-linux \
+ --host=$ARCH-slackware-linux
make
make install DESTDIR=$PKG