diff options
-rw-r--r-- | games/bloodfrontier/bloodfrontier.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/games/bloodfrontier/bloodfrontier.SlackBuild b/games/bloodfrontier/bloodfrontier.SlackBuild index a01da80df2..009392234d 100644 --- a/games/bloodfrontier/bloodfrontier.SlackBuild +++ b/games/bloodfrontier/bloodfrontier.SlackBuild @@ -11,7 +11,7 @@ PRGNAM=bloodfrontier VERSION=${VERSION:-0.85} SVERSION=${SVERSION:-B2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -39,6 +39,10 @@ elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" SLKLDFLAGS="-L/usr/lib64 -L/lib64" LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" + SLKLDFLAGS="-L/usr/lib -L/lib" fi set -e # Exit on most errors @@ -56,6 +60,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +sed -i "s|X11R6/lib|lib${LIBDIRSUFFIX} -lX11|" src/Makefile + make -C src \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |