diff options
Diffstat (limited to 'games/smc/smc.SlackBuild')
-rw-r--r-- | games/smc/smc.SlackBuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/games/smc/smc.SlackBuild b/games/smc/smc.SlackBuild index 90f565dcc4..3f05ae23fc 100644 --- a/games/smc/smc.SlackBuild +++ b/games/smc/smc.SlackBuild @@ -5,14 +5,9 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. -# Modified by B. Watson, for post-1.9 git snapshot and Slack 14.1. -# - removed boost patch (no longer needed) -# - changed Categories in .desktop file (make it validate) -# - got CEGUI0.7 maintainer to add a couple configure options this needs - -# Note about the REQUIRES in the .info file: I listed FreeImage first -# because it's an optional dep for CEGUI0.7. This build needs CEGUI0.7 -# with FreeImage support compiled in. +# 20230110 bkw: BUILD=4 +# - look for CEGUI0.7 libraries in /opt/CEGUI0.7, since they've +# been moved there (as of CEGUI0.7 build 5). # 20211026 bkw: BUILD=3 # - new-style icons (extracted from the windows .ico file). @@ -34,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=smc VERSION=${VERSION:-20140328} -BUILD=${BUILD:-2} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -83,6 +78,8 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ ./autogen.sh +export PKG_CONFIG_PATH=/opt/CEGUI0.7/lib$LIBDIRSUFFIX/pkgconfig + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -92,7 +89,7 @@ CXXFLAGS="$SLKCFLAGS" \ --datadir=/usr/share/games \ --build=$ARCH-slackware-linux -CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" force_arch="$ARCH" make +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" force_arch="$ARCH" make V=1 make install-strip DESTDIR=$PKG # The fonts included in the game cause 14.2's fontconfig to fail, |