diff options
author | B. Watson <urchlay@slackware.uk> | 2024-11-07 02:10:51 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-11-16 16:41:15 +0700 |
commit | d7f3b75091ecbd75f6b470ddf70550c3315e86bf (patch) | |
tree | 1e192edecba19e4890d10454320ee08d4467cc6e | |
parent | e641024d68f99f5ba600b34b8e580b9e324dc52c (diff) |
development/love-legacy080: Build with lua51.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | development/love-legacy080/love-legacy080.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/development/love-legacy080/love-legacy080.SlackBuild b/development/love-legacy080/love-legacy080.SlackBuild index 547f32de2d87..5f2fa9949764 100644 --- a/development/love-legacy080/love-legacy080.SlackBuild +++ b/development/love-legacy080/love-legacy080.SlackBuild @@ -11,6 +11,7 @@ # #!/usr/bin/env love-0.8.0 # See mari0.SlackBuild for an example. +# 20241107 bkw: BUILD=3, use lua51 (because this won't build with luajit-2.1.x) # 20241018 bkw: BUILD=2, REQUIRES=luajit instead of lua. # 20210903 bkw: fix build for current/pre15. @@ -18,7 +19,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=love-legacy080 VERSION=${VERSION:-0.8.0} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -70,6 +71,9 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ # this is the same patch as love-legacy072 zcat $CWD/newmesafix.diff.gz | patch -p1 +SLKCFLAGS+=" $(pkg-config --cflags lua51)" + +LDFLAGS="$(pkg-config --libs lua51)" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -80,7 +84,7 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --program-suffix=-0.8.0 \ - --with-luajit \ + --without-luajit \ --build=$ARCH-slackware-linux make |