diff options
Diffstat (limited to 'graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild')
-rw-r--r-- | graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild b/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild index 4758daa1e3de5..fdd90c3d9bf52 100644 --- a/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild +++ b/graphics/wine-nine-standalone/wine-nine-standalone.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=wine-nine-standalone -VERSION=${VERSION:-0.4} +VERSION=${VERSION:-0.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -91,9 +91,11 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; if [ "${DEBUG:=0}" != 0 ]; then + NDEBUG=false RELEASE=debug SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0/')" else + NDEBUG=true RELEASE=plain fi @@ -125,7 +127,8 @@ for bin do --libdir=lib$bin \ --bindir=bin$bin \ --cross-file=tools/cross-wine$bin \ - -Dstrip=false \ + -Dstrip=$NDEBUG \ + -Db_ndebug=$NDEBUG \ -Dbuildtype=$RELEASE \ build$bin @@ -148,11 +151,6 @@ EOF chmod 0755 $PKG/usr/bin/ninewinecfg$suffix done -if [ "$DEBUG" = 0 ]; then - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | - grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -fi - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |