summaryrefslogtreecommitdiff
path: root/source/n/netkit-rusers/netkit-rusers.SlackBuild
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2021-01-13 19:51:45 +0000
committerEric Hameleers <alien@slackware.com>2021-01-14 08:59:48 +0100
commita1b82f3ef322065db8e1e4f21b3a80e35a1bb514 (patch)
tree5df2b40cf1fd592606a84b68cb3f31079764288e /source/n/netkit-rusers/netkit-rusers.SlackBuild
parent4e75b0d129720e16c3e34ab1edce6a9597e34b10 (diff)
downloadcurrent-a1b82f3ef322065db8e1e4f21b3a80e35a1bb514.tar.gz
Wed Jan 13 19:51:45 UTC 202120210113195145
ap/diffstat-1.64-x86_64-1.txz: Upgraded. d/cmake-3.19.3-x86_64-1.txz: Upgraded. l/gcr-3.38.1-x86_64-1.txz: Upgraded. l/mlt-6.24.0-x86_64-2.txz: Rebuilt. Patched for opencv >= 4.5.1. Thanks to nobodino. l/pulseaudio-14.1-x86_64-1.txz: Upgraded. n/netkit-bootparamd-0.17-x86_64-4.txz: Rebuilt. Patched for libtirpc. Thanks to nobodino. n/netkit-rusers-0.17-x86_64-3.txz: Rebuilt. Patched for libtirpc. Thanks to nobodino. n/netkit-rwall-0.17-x86_64-3.txz: Rebuilt. Patched for libtirpc. Thanks to nobodino. xfce/Greybird-3.22.14-noarch-1.txz: Upgraded. extra/source/flashplayer-plugin/: Removed.
Diffstat (limited to 'source/n/netkit-rusers/netkit-rusers.SlackBuild')
-rwxr-xr-xsource/n/netkit-rusers/netkit-rusers.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/source/n/netkit-rusers/netkit-rusers.SlackBuild b/source/n/netkit-rusers/netkit-rusers.SlackBuild
index 9a8eb7c3..fd0908ea 100755
--- a/source/n/netkit-rusers/netkit-rusers.SlackBuild
+++ b/source/n/netkit-rusers/netkit-rusers.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2007-2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2007-2021 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=netkit-rusers
VERSION=0.17
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -56,6 +56,11 @@ cd netkit-rusers-$VERSION
chown -R root:root .
zcat $CWD/netkit-rusers-0.17.diff.gz | patch -p1 || exit 1
./configure --prefix=/usr
+
+# Fixes for libtirpc:
+sed -i -e 's/Winline/Winline -I\/usr\/include\/tirpc/' MCONFIG
+sed -i -e 's/LDFLAGS=/LDFLAGS=-ltirpc/' MCONFIG
+
make || exit
cd rpc.rusersd
strip rusersd