summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2021-02-27 11:23:17 +0100
committer Matteo Bernardini2021-03-06 10:16:20 +0100
commit92731bfa2275ad095f8611d6a324cbaa88f76aa8 (patch)
tree031d2db2c59f1cc3b167e69e142205f535ecaada
parent3c59cb22425adf5d8a0d1a79baf00e6d9334c620 (diff)
downloadslackbuilds-nx-libs.tar.gz
libraries/nx-libs: Updated for version 3.5.99.26, use libtirpc.nx-libs
Add a fix for the newer binutils Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--libraries/nx-libs/nx-libs.SlackBuild12
-rw-r--r--libraries/nx-libs/nx-libs.info6
2 files changed, 12 insertions, 6 deletions
diff --git a/libraries/nx-libs/nx-libs.SlackBuild b/libraries/nx-libs/nx-libs.SlackBuild
index 78f38de601..267e51360c 100644
--- a/libraries/nx-libs/nx-libs.SlackBuild
+++ b/libraries/nx-libs/nx-libs.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nx-libs
-VERSION=${VERSION:-3.5.99.20_1}
+VERSION=${VERSION:-3.5.99.26}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,7 +63,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVERSION
-tar xvf $CWD/$PRGNAM-$SRCVERSION-full.tar.gz
+tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
cd $PRGNAM-$SRCVERSION
chown -R root:root .
find -L . \
@@ -72,10 +72,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fix for the newer binutils (no more l flag for ar)
+sed -i -e "s|ArCmdBase\ clq|ArCmdBase cq|" \
+ -e "s|ArCmdBase\ rul|ArCmdBase ru|" \
+ -e "s|ArCmdBase\ xl|ArCmdBase x|" \
+ nx-X11/config/cf/Imake.tmpl
+
# Fix man install dir
sed -i "s|share/man|man|g" Makefile
-make CONFIGURE="./configure --libdir=/usr/lib${LIBDIRSUFFIX} --prefix=/usr --mandir=/usr/man" PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX}
+make CONFIGURE="./configure --libdir=/usr/lib${LIBDIRSUFFIX} --prefix=/usr --mandir=/usr/man" PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} IMAKE_DEFINES="-DUseTIRPC=YES"
make install PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG
diff --git a/libraries/nx-libs/nx-libs.info b/libraries/nx-libs/nx-libs.info
index 40682b6b44..61974a26a5 100644
--- a/libraries/nx-libs/nx-libs.info
+++ b/libraries/nx-libs/nx-libs.info
@@ -1,8 +1,8 @@
PRGNAM="nx-libs"
-VERSION="3.5.99.20_1"
+VERSION="3.5.99.26"
HOMEPAGE="http://www.x2go.org"
-DOWNLOAD="https://code.x2go.org/releases/source/nx-libs/nx-libs-3.5.99.20-1-full.tar.gz"
-MD5SUM="15ab120295db892369cf9eb90f650006"
+DOWNLOAD="https://github.com/ArcticaProject/nx-libs/archive/3.5.99.26/nx-libs-3.5.99.26.tar.gz"
+MD5SUM="ce874313e69f1a0f8c09c7363b006f66"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""