pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/lua-filesystem
Module Name: pkgsrc
Committed By: nia
Date: Thu Jul 2 21:40:50 UTC 2020
Modified Files:
pkgsrc/devel/lua-filesystem: Makefile distinfo
pkgsrc/devel/lua-filesystem/patches: patch-Makefile
Removed Files:
pkgsrc/devel/lua-filesystem/patches: patch-config
Log Message:
lua-filesystem: Update to 1.8.0
Version 1.8.0 [22/Apr/2020]
* Lua 5.4 support
* lfs.link and lfs.symlinkattributes now work on Windows
* MACOSX_DEPLOYMENT_TARGET is configurable in the Makefile
* Fallback to _POSIX_PATH_MAX when MAXPATHLEN is not avaliable
* Fixed memory leak in case of realloc failure
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/devel/lua-filesystem/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/lua-filesystem/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/lua-filesystem/patches/patch-Makefile
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/lua-filesystem/patches/patch-config
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/lua-filesystem/Makefile
diff -u pkgsrc/devel/lua-filesystem/Makefile:1.14 pkgsrc/devel/lua-filesystem/Makefile:1.15
--- pkgsrc/devel/lua-filesystem/Makefile:1.14 Thu Jul 2 10:26:17 2020
+++ pkgsrc/devel/lua-filesystem/Makefile Thu Jul 2 21:40:49 2020
@@ -1,27 +1,29 @@
-# $NetBSD: Makefile,v 1.14 2020/07/02 10:26:17 nia Exp $
+# $NetBSD: Makefile,v 1.15 2020/07/02 21:40:49 nia Exp $
#
-DISTNAME= luafilesystem-1.7.0
+DISTNAME= luafilesystem-1.8.0
PKGNAME= ${DISTNAME:S/lua/${LUA_PKGPREFIX}-/}
CATEGORIES= devel lua
MASTER_SITES= ${MASTER_SITE_GITHUB:=keplerproject/}
GITHUB_PROJECT= luafilesystem
-GITHUB_TAG= v${PKGVERSION_NOREV:S/./_/g}_2
+GITHUB_TAG= v${PKGVERSION_NOREV:S/./_/g}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://keplerproject.github.com/luafilesystem/
COMMENT= File system related library for Lua
LICENSE= mit
-WRKSRC= ${WRKDIR}/luafilesystem-${PKGVERSION_NOREV:S/./_/g}_2
+WRKSRC= ${WRKDIR}/luafilesystem-${PKGVERSION_NOREV:S/./_/g}
USE_TOOLS+= gmake pkg-config
BUILD_TARGET= lib
TEST_TARGET= test
-MAKE_ENV+= LUA_CDIR=${LUA_CDIR}
-MAKE_ENV+= LUA_VERS=${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}
+MAKE_FLAGS+= PREFIX=${PREFIX}
+MAKE_FLAGS+= CC=${CC}
+MAKE_FLAGS+= CFLAGS="${CFLAGS} -fPIC"
+MAKE_FLAGS+= LUA_VERSION=${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/lua-filesystem/distinfo
diff -u pkgsrc/devel/lua-filesystem/distinfo:1.6 pkgsrc/devel/lua-filesystem/distinfo:1.7
--- pkgsrc/devel/lua-filesystem/distinfo:1.6 Tue May 28 20:43:04 2019
+++ pkgsrc/devel/lua-filesystem/distinfo Thu Jul 2 21:40:49 2020
@@ -1,8 +1,7 @@
-$NetBSD: distinfo,v 1.6 2019/05/28 20:43:04 maya Exp $
+$NetBSD: distinfo,v 1.7 2020/07/02 21:40:49 nia Exp $
-SHA1 (luafilesystem-1.7.0.tar.gz) = 910de0959ff72703b284c26783979b663c4dc0d2
-RMD160 (luafilesystem-1.7.0.tar.gz) = 6770d25f1d0928c347560425d7c5758788038fd9
-SHA512 (luafilesystem-1.7.0.tar.gz) = a1d4d077776e57cd878dbcd21656da141ea3686c587b5420a2b039aeaf086b7e7d05d531ee1cc2bbd7d06660d1315b09593e52143f6711f033ce8eecdc550511
-Size (luafilesystem-1.7.0.tar.gz) = 30877 bytes
-SHA1 (patch-Makefile) = 1fd838ba0f5a716ed1f8f7b7ed4fda816e702806
-SHA1 (patch-config) = 5d459797960118aa387f1f5cfb8bc6d7923965c8
+SHA1 (luafilesystem-1.8.0.tar.gz) = d81c8fd0a0a4c206980a9b01fa27cbd1f458031c
+RMD160 (luafilesystem-1.8.0.tar.gz) = 761c35786ffd299f16a5f7b97afe028b41944beb
+SHA512 (luafilesystem-1.8.0.tar.gz) = 79d964f13ae43716281dc8521d2f128b22f2261234c443e242b857cfdf621e208bdf4512f8ba710baa113e9b3b71e2544609de65e2c483f569c243a5cf058247
+Size (luafilesystem-1.8.0.tar.gz) = 30374 bytes
+SHA1 (patch-Makefile) = 28319e09fde9214aba812a84ee63ed39385694ec
Index: pkgsrc/devel/lua-filesystem/patches/patch-Makefile
diff -u pkgsrc/devel/lua-filesystem/patches/patch-Makefile:1.1 pkgsrc/devel/lua-filesystem/patches/patch-Makefile:1.2
--- pkgsrc/devel/lua-filesystem/patches/patch-Makefile:1.1 Tue May 28 20:43:04 2019
+++ pkgsrc/devel/lua-filesystem/patches/patch-Makefile Thu Jul 2 21:40:50 2020
@@ -1,16 +1,18 @@
-$NetBSD: patch-Makefile,v 1.1 2019/05/28 20:43:04 maya Exp $
+$NetBSD: patch-Makefile,v 1.2 2020/07/02 21:40:50 nia Exp $
- Remove MACOSX_DEPLOYMENT_TARGET as it will give problem on newer macOS
and also targeting/building for current macOS version is enough
---- Makefile.orig 2017-09-15 23:07:33.000000000 +0000
+ - Honour LDFLAGS.
+
+--- Makefile.orig 2020-04-23 01:16:42.000000000 +0000
+++ Makefile
@@ -12,7 +12,7 @@ OBJS= src/$T.o
lib: src/lfs.so
src/lfs.so: $(OBJS)
-- MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; $(CC) $(LIB_OPTION) -o src/lfs.so $(OBJS)
-+ $(CC) $(LIB_OPTION) -o src/lfs.so $(OBJS)
+- MACOSX_DEPLOYMENT_TARGET=$(MACOSX_DEPLOYMENT_TARGET); export MACOSX_DEPLOYMENT_TARGET; $(CC) $(LIB_OPTION) -o src/lfs.so $(OBJS)
++ $(CC) $(LDFLAGS) $(LIB_OPTION) -o src/lfs.so $(OBJS)
test: lib
LUA_CPATH=./src/?.so lua tests/test.lua
Home |
Main Index |
Thread Index |
Old Index