From 2c57ac091013da8b49b648122151cf616428f588 Mon Sep 17 00:00:00 2001 From: dsomero Date: Tue, 18 Sep 2012 06:56:07 -0400 Subject: [PATCH] system/xautomation: Fixed underlinking --- system/xautomation/xautomation.SlackBuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/system/xautomation/xautomation.SlackBuild b/system/xautomation/xautomation.SlackBuild index 9b6cc4f41f..e2ab84cd7d 100644 --- a/system/xautomation/xautomation.SlackBuild +++ b/system/xautomation/xautomation.SlackBuild @@ -6,15 +6,13 @@ PRGNAM=xautomation VERSION=${VERSION:-1.03} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -55,6 +53,7 @@ find . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ +LDFLAGS="-lX11" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -67,9 +66,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \