diff options
Diffstat (limited to 'development/bed/bed.SlackBuild')
-rw-r--r-- | development/bed/bed.SlackBuild | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/development/bed/bed.SlackBuild b/development/bed/bed.SlackBuild index 483b011eb5..617726af14 100644 --- a/development/bed/bed.SlackBuild +++ b/development/bed/bed.SlackBuild @@ -2,10 +2,11 @@ # Slackware build script for bed -# 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. +# 20220404 bkw: BUILD=3, remove more cruft. # 20200111 bkw: Upstream site has expired and gone to meet its maker. # 20191225 bkw: BUILD=2 # - fix builds with optional re2 dep, document optional hyperscan dep. @@ -15,7 +16,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=bed VERSION=${VERSION:-3.0.0} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -27,9 +28,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 @@ -80,6 +78,12 @@ sed -i '/Press F1 in menu/s/X/[x]/g' plugins/examples/helpf1.cc # 20191225 bkw: build was failing on systems where re2 was installed sed -i 's,static *string,static std::string,' src/re2search.cpp +# 20220205 bkw: C++ standards OCD... +sed -i 's,getret>0,getret,' src/readhelp.cpp + +# 20220404 bkw: wtf, upstream? you included compiled binaries in the source. +rm -f src/mkpartypes regex-*/regtest + # Not sure the --without-x does anything, but it doesn't hurt either. CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -158,6 +162,9 @@ rm -f $PKGBEDLIB/bedmagic.short $PKGBEDLIB/addmagic # Don't want this (use removepkg instead): rm -f $PKGBEDLIB/uninstallbed.sh +# 20220404 bkw: this looks utterly useless. +rm -f $PKGBEDLIB/plugins/examples/disass-use + # There's still some cruft in $PKGBEDLIB (e.g. sources for the plugins), # but it's stuff that could be considered documentation so I'll leave it. |