pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/love07



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

Modified Files:
        pkgsrc/games/love07: Makefile
Removed Files:
        pkgsrc/games/love07: options.mk

Log Message:
love07: Detect Lua properly, etc.

I mistakenly enabled LuaJIT support on supported platforms.
It doesn't actually work in this version of LOVE (oops).

The previous inclusion of LuaJIT's buildlink3.mk was a mistake,
instead the exact version of lua51 should be included and the library
name corrected.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/games/love07/Makefile
cvs rdiff -u -r1.2 -r0 pkgsrc/games/love07/options.mk

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

Modified files:

Index: pkgsrc/games/love07/Makefile
diff -u pkgsrc/games/love07/Makefile:1.3 pkgsrc/games/love07/Makefile:1.4
--- pkgsrc/games/love07/Makefile:1.3    Wed Jun 24 11:38:26 2020
+++ pkgsrc/games/love07/Makefile        Wed Jun 24 12:34:02 2020
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2020/06/24 11:38:26 nia Exp $
+# $NetBSD: Makefile,v 1.4 2020/06/24 12:34:02 nia Exp $
 
 DISTNAME=      love-0.7.2-linux-src
 PKGNAME=       ${DISTNAME:S/-linux-src//:S/love/love07/}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    games
 MASTER_SITES=  https://bitbucket.org/rude/love/downloads/
 
@@ -18,15 +18,21 @@ USE_LANGUAGES=      c c++
 USE_TOOLS+=    pkg-config
 USE_LIBTOOL=   yes
 
+# Avoid detecting unversioned lua in NetBSD.
+SUBST_CLASSES+=                lua
+SUBST_STAGE.lua=       pre-configure
+SUBST_FILES.lua=       configure
+SUBST_SED.lua=         -e 's,lua lua5.1,lua5.1,g'
+
 GNU_CONFIGURE_PREFIX=          ${PREFIX}/love0.7
 
-.include "options.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../devel/SDL/buildlink3.mk"
 BUILDLINK_API_DEPENDS.physfs+= physfs>=2.0
 .include "../../devel/physfs/buildlink3.mk"
 .include "../../audio/openal-soft/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