pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/lua-mpack devel/lua-mpack: Fix build on Darwin



details:   https://anonhg.NetBSD.org/pkgsrc/rev/760718644f6d
branches:  trunk
changeset: 390824:760718644f6d
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Dec 30 20:41:24 2022 +0000

description:
devel/lua-mpack: Fix build on Darwin

Added a patch to remove a redundant -D option for install.

diffstat:

 devel/lua-mpack/distinfo               |   3 ++-
 devel/lua-mpack/patches/patch-Makefile |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 9ddc9f9a5ebd -r 760718644f6d devel/lua-mpack/distinfo
--- a/devel/lua-mpack/distinfo  Fri Dec 30 20:35:52 2022 +0000
+++ b/devel/lua-mpack/distinfo  Fri Dec 30 20:41:24 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2022/04/21 07:39:02 wiz Exp $
+$NetBSD: distinfo,v 1.3 2022/12/30 20:41:24 minskim Exp $
 
 BLAKE2s (libmpack-lua-1.0.8.tar.gz) = 4cabc954d6cc4f756725c7e6aaadaea752dc86198aea084781e0c52c7428f001
 SHA512 (libmpack-lua-1.0.8.tar.gz) = 6d21cc6bbdee583a1d808742991459e4b1796f347b2f4eaa747b576f5bb1ca989123339120e43246bac859c20e6f46ac57116ce9f135157256fecbd8cf817f75
 Size (libmpack-lua-1.0.8.tar.gz) = 15616 bytes
+SHA1 (patch-Makefile) = 1660772dcdf7fd22b75f501a64016cab02215e8e
diff -r 9ddc9f9a5ebd -r 760718644f6d devel/lua-mpack/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/lua-mpack/patches/patch-Makefile    Fri Dec 30 20:41:24 2022 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-Makefile,v 1.1 2022/12/30 20:41:24 minskim Exp $
+
+--- Makefile.orig      2019-06-24 22:59:38.000000000 +0000
++++ Makefile
+@@ -147,7 +147,7 @@ ifeq ($(USE_SYSTEM_LUA),no)
+       @:
+ else
+       mkdir -p "$(DESTDIR)$(LUA_CMOD_INSTALLDIR)"
+-      install -Dm755 $< "$(DESTDIR)$(LUA_CMOD_INSTALLDIR)/$<"
++      install -m755 $< "$(DESTDIR)$(LUA_CMOD_INSTALLDIR)/$<"
+ endif
+ 
+ .PHONY: all clean depsclean install test gdb valgrind ci-test release



Home | Main Index | Thread Index | Old Index