diff options
Diffstat (limited to 'source/xap/ddd/ddd.SlackBuild')
-rwxr-xr-x | source/xap/ddd/ddd.SlackBuild | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/source/xap/ddd/ddd.SlackBuild b/source/xap/ddd/ddd.SlackBuild index 8131ef959..48df65226 100755 --- a/source/xap/ddd/ddd.SlackBuild +++ b/source/xap/ddd/ddd.SlackBuild @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2013, 2014, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2013, 2014, 2018, 2023 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -28,8 +28,8 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=ddd -VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-8} +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -79,17 +79,11 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PKGNAM-$VERSION -tar xvf $CWD/$PKGNAM-$VERSION.tar.*z || exit 1 +tar xvf $CWD/$PKGNAM-$VERSION.tar.?z || exit 1 cd $PKGNAM-$VERSION || exit 1 chown -R root:root . chmod -R u+w,go+r-w,a-s . -# http://savannah.gnu.org/bugs/?26726 -zcat $CWD/strclass.C.diff.gz | patch -p0 --verbose || exit 1 - -# Fix machine code window with gdb > 7.1: -zcat $CWD/machine_code_window_fix.diff.gz | patch -p1 --verbose || exit 1 - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS -fpermissive" \ ./configure \ @@ -116,7 +110,7 @@ gzip -9 $PKG/usr/info/* mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION cp -a \ - AUTHORS COPYING* CREDITS NEWS PROBLEMS README TIPS TODO \ + AUTHORS* COPYING* CREDITS* NEWS* README* TIPS* TODO* \ doc/html/ddd.html \ $PKG/usr/doc/$PKGNAM-$VERSION |