diff options
Diffstat (limited to 'development')
-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 |