aboutsummaryrefslogtreecommitdiff
path: root/desktop/rsl
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-08 11:10:42 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-09 09:35:59 +0700
commit50595793659b244bf77e581d7dff35c88a4ad215 (patch)
treec7099faf6bf39f3afc190c5de745510beea87893 /desktop/rsl
parente4ce7ac80644994598df6669624478e7768eb5e7 (diff)
desktop/rsl: Use libtrpc.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/rsl')
-rw-r--r--desktop/rsl/rsl.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/rsl/rsl.SlackBuild b/desktop/rsl/rsl.SlackBuild
index 8b482bf7d002..df9fe510a396 100644
--- a/desktop/rsl/rsl.SlackBuild
+++ b/desktop/rsl/rsl.SlackBuild
@@ -13,7 +13,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -31,8 +31,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"
@@ -64,7 +64,7 @@ find -L . \
sed -i 's|\$LEXLIB||' configure.ac
autoreconf -ivf
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -I/usr/include/tirpc -Wl,-ltirpc" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \