games/mednafen: Disable debugger.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Johannes Schoepfer 2024-03-29 21:27:02 +07:00 committed by Willy Sudiarto Raharjo
parent d401698756
commit 9226dc60b2
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -2,9 +2,9 @@
# Slackware build script for mednafen
# Copyright 2008 - 2014 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2014 - 2016 Ryan P.C. McQuen | Everett, WA
# Copyright 2017 - 2022 Johannes Schoepfer, Germany
# Copyright 2008-2014 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2014-2016 Ryan P.C. McQuen | Everett, WA
# Copyright 2017-2024 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -74,9 +74,9 @@ cd $PRGNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
-o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
# sanitize build flags, thanks to the gentoo folks
sed \
@ -113,7 +113,6 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--disable-debugger \
--with-external-lzo \
--build=$ARCH-slackware-linux
@ -121,7 +120,7 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -ar ABOUT-NLS ChangeLog COPYING Documentation INSTALL \
cp -ar ABOUT-NLS ChangeLog COPYING Documentation \
README{,.DOS,.PORTING} TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -f $PKG/usr/doc/$PRGNAM-$VERSION/Documentation/Makefile.*