Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/love08 love08: Don't misleadingly depend on LuaJIT



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6a209640a5ff
branches:  trunk
changeset: 434859:6a209640a5ff
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Jun 24 12:12:41 2020 +0000

description:
love08: Don't misleadingly depend on LuaJIT

LuaJIT was never actually being used but got pulled in anyway, this
breaks aarch64 builds.

Detect the standard lua library properly removes the need to include it.

I'd enable LuaJIT as an option but I can't get it to build against it...

Bump PKGREVISION

diffstat:

 games/love08/Makefile |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r 90c80d8a766d -r 6a209640a5ff games/love08/Makefile
--- a/games/love08/Makefile     Wed Jun 24 11:43:54 2020 +0000
+++ b/games/love08/Makefile     Wed Jun 24 12:12:41 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2020/06/05 12:49:06 jperkin Exp $
+# $NetBSD: Makefile,v 1.3 2020/06/24 12:12:41 nia Exp $
 
 DISTNAME=      love-0.8.0-linux-src
 PKGNAME=       ${DISTNAME:S/-linux-src//:S/love/love08/}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    games
 MASTER_SITES=  https://bitbucket.org/rude/love/downloads/
 
@@ -18,7 +18,10 @@
 USE_TOOLS+=    pkg-config
 USE_LIBTOOL=   yes
 
-LUA_VERSIONS_INCOMPATIBLE=     52 53
+SUBST_CLASSES+=                lua
+SUBST_STAGE.lua=       pre-configure
+SUBST_FILES.lua=       configure
+SUBST_SED.lua=         -e 's,lua5.1,lua-5.1,g'
 
 GNU_CONFIGURE_PREFIX=          ${PREFIX}/love0.8
 
@@ -28,8 +31,7 @@
 BUILDLINK_API_DEPENDS.physfs+= physfs>=2.0
 .include "../../devel/physfs/buildlink3.mk"
 .include "../../audio/openal-soft/buildlink3.mk"
-.include "../../lang/lua/buildlink3.mk"
-.include "../../lang/LuaJIT2/buildlink3.mk"
+.include "../../lang/lua51/buildlink3.mk"
 .include "../../devel/devIL/buildlink3.mk"
 .include "../../devel/libltdl/buildlink3.mk"
 .include "../../audio/libmodplug/buildlink3.mk"



Home | Main Index | Thread Index | Old Index