diff options
Diffstat (limited to 'libraries/nx-libs/nx-libs.SlackBuild')
-rw-r--r-- | libraries/nx-libs/nx-libs.SlackBuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/libraries/nx-libs/nx-libs.SlackBuild b/libraries/nx-libs/nx-libs.SlackBuild index 78f38de601f51..267e51360cbcc 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 |