pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/love08



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Jun 24 12:12:41 UTC 2020

Modified Files:
        pkgsrc/games/love08: Makefile

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/games/love08/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/love08/Makefile
diff -u pkgsrc/games/love08/Makefile:1.2 pkgsrc/games/love08/Makefile:1.3
--- pkgsrc/games/love08/Makefile:1.2    Fri Jun  5 12:49:06 2020
+++ pkgsrc/games/love08/Makefile        Wed Jun 24 12:12:41 2020
@@ -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_LANGUAGES=       c c++
 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 @@ GNU_CONFIGURE_PREFIX=         ${PREFIX}/love0.8
 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