summaryrefslogtreecommitdiffstats
path: root/system/joyce/joyce.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/joyce/joyce.SlackBuild')
-rw-r--r--system/joyce/joyce.SlackBuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/system/joyce/joyce.SlackBuild b/system/joyce/joyce.SlackBuild
index bbf64c0c01..172264c39c 100644
--- a/system/joyce/joyce.SlackBuild
+++ b/system/joyce/joyce.SlackBuild
@@ -2,14 +2,18 @@
# Slackware build script for joyce
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240315 bkw: update for v2.4.2
+# 20230419 bkw: update for v2.4.1
+# 20221227 bkw: update for v2.4.0, get rid of unneeded compilefix.diff
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=joyce
-VERSION=${VERSION:-2.2.14}
+VERSION=${VERSION:-2.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -22,9 +26,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -57,11 +58,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -std=gnu++98" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \