diff options
Diffstat (limited to 'games/frogatto/frogatto.SlackBuild')
-rw-r--r-- | games/frogatto/frogatto.SlackBuild | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/games/frogatto/frogatto.SlackBuild b/games/frogatto/frogatto.SlackBuild index 0f24518542a04..6e555d740e5e3 100644 --- a/games/frogatto/frogatto.SlackBuild +++ b/games/frogatto/frogatto.SlackBuild @@ -38,9 +38,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 @@ -72,6 +69,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $PRGNAM-$VERSION +rm -rf MacOSJet chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -79,8 +77,19 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Thanks to the Arch folks +patch -p1 -i $CWD/fbsd-fixes.patch +patch -p0 -i $CWD/frogatto-boost-1.70.patch + # Fix linking with boost libs and remove -Werror -sed -i -e 's,-mt,,g' -e 's, -Werror,,' Makefile +sed -i \ + -e 's,-mt,,g' \ + -e 's, -Werror,,' \ + -e 's/-lprofiler//g' \ + -e 's/ccache //g' \ + -e 's/\.io_service/\.get_io_service/g' \ + -e 's/\%lu\\n/\%zu\\n/g' \ + Makefile make \ OPTIMIZE=no \ |