pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/love010
Module Name: pkgsrc
Committed By: bsiegert
Date: Thu Aug 15 16:32:12 UTC 2024
Modified Files:
pkgsrc/games/love010: Makefile
Log Message:
love010: avoid deprecated Lua API symbols
By Malte Dehling via PR pkg/58291.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/games/love010/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/love010/Makefile
diff -u pkgsrc/games/love010/Makefile:1.23 pkgsrc/games/love010/Makefile:1.24
--- pkgsrc/games/love010/Makefile:1.23 Sat Apr 6 08:05:33 2024
+++ pkgsrc/games/love010/Makefile Thu Aug 15 16:32:12 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.23 2024/04/06 08:05:33 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2024/08/15 16:32:12 bsiegert Exp $
DISTNAME= love-0.10.2-linux-src
PKGNAME= ${DISTNAME:S/-linux-src//:S/love/love010/}
-PKGREVISION= 18
+PKGREVISION= 19
CATEGORIES= games lua
MASTER_SITES= ${MASTER_SITE_GITHUB:=love2d/}
@@ -23,6 +23,17 @@ GNU_CONFIGURE_MANDIR= ${PREFIX}/love0.1
BUILDLINK_PASSTHRU_DIRS+= ${PREFIX}/love0.10/lib
BUILDLINK_PASSTHRU_RPATHDIRS+= ${PREFIX}/love0.10/lib
+SUBST_CLASSES+= lj
+.for f in auxiliar.c auxiliar.h buffer.c except.c inet.c luasocket.c \
+ mime.c options.c select.c tcp.c timeout.c udp.c unix.c
+SUBST_FILES.lj+= src/libraries/luasocket/libluasocket/${f}
+.endfor
+SUBST_MESSAGE.lj= Substituting deprecated symbols.
+SUBST_STAGE.lj= pre-configure
+SUBST_SED.lj= -e 's/luaL_reg/luaL_Reg/g'
+SUBST_SED.lj+= -e 's/luaL_putchar/luaL_addchar/g'
+SUBST_SED.lj+= -e 's/luaL_typerror/luax_typerror/g'
+
INSTALLATION_DIRS+= bin
post-install:
${LN} -sf ../love0.10/bin/love ${DESTDIR}${PREFIX}/bin/love0.10
Home |
Main Index |
Thread Index |
Old Index