pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/love09
Module Name: pkgsrc
Committed By: bsiegert
Date: Thu Aug 15 16:28:26 UTC 2024
Modified Files:
pkgsrc/games/love09: Makefile
Log Message:
love09: avoid deprecated lua functions.
By Malte Dehling in PR pkg/58291.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/games/love09/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/love09/Makefile
diff -u pkgsrc/games/love09/Makefile:1.23 pkgsrc/games/love09/Makefile:1.24
--- pkgsrc/games/love09/Makefile:1.23 Sat Apr 6 08:05:33 2024
+++ pkgsrc/games/love09/Makefile Thu Aug 15 16:28:26 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:28:26 bsiegert Exp $
DISTNAME= love-0.9.2-linux-src
PKGNAME= ${DISTNAME:S/-linux-src//:S/love/love09/}
-PKGREVISION= 18
+PKGREVISION= 19
CATEGORIES= games lua
MASTER_SITES= ${MASTER_SITE_GITHUB:=love2d/}
@@ -23,6 +23,17 @@ GNU_CONFIGURE_MANDIR= ${PREFIX}/love0.9
BUILDLINK_PASSTHRU_DIRS+= ${PREFIX}/love0.9/lib
BUILDLINK_PASSTHRU_RPATHDIRS+= ${PREFIX}/love0.9/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.9/bin/love ${DESTDIR}${PREFIX}/bin/love0.9
Home |
Main Index |
Thread Index |
Old Index