diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-02-27 11:23:17 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:45:06 -0500 |
commit | 061bfd60566a6f0a65d851c1f5cbb8b0b87b5dbe (patch) | |
tree | 309f667f5fb6651998d59786cd7a51f4d5b232bd /libraries/nx-libs | |
parent | 8f502f8427af42a6c5ad4994189b739a901ef85e (diff) | |
download | slackbuilds-061bfd60566a6f0a65d851c1f5cbb8b0b87b5dbe.tar.gz |
libraries/nx-libs: Updated for version 3.5.99.26, use libtirpc.
Add a fix for the newer binutils
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/nx-libs')
-rw-r--r-- | libraries/nx-libs/nx-libs.SlackBuild | 12 | ||||
-rw-r--r-- | libraries/nx-libs/nx-libs.info | 6 |
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="" |