pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/lua-BitOp lua-BitOp: fix on macOS. via Jonathan ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13b57c89f895
branches:  trunk
changeset: 456501:13b57c89f895
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Aug 01 12:39:46 2021 +0000

description:
lua-BitOp: fix on macOS. via Jonathan Buschmann

PR pkg/56341

diffstat:

 devel/lua-BitOp/distinfo               |   4 ++--
 devel/lua-BitOp/patches/patch-Makefile |  12 +++++++++++-
 2 files changed, 13 insertions(+), 3 deletions(-)

diffs (41 lines):

diff -r 21d57b2a12a6 -r 13b57c89f895 devel/lua-BitOp/distinfo
--- a/devel/lua-BitOp/distinfo  Sun Aug 01 12:35:06 2021 +0000
+++ b/devel/lua-BitOp/distinfo  Sun Aug 01 12:39:46 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2016/08/20 12:43:40 alnsn Exp $
+$NetBSD: distinfo,v 1.5 2021/08/01 12:39:46 nia Exp $
 
 SHA1 (LuaBitOp-1.0.2.tar.gz) = 1f611edbc4f65279072c96af15bd6e455ea9dd10
 RMD160 (LuaBitOp-1.0.2.tar.gz) = 6b5a44515022ed1f4edb9d966b8ea3aa9c38a892
 SHA512 (LuaBitOp-1.0.2.tar.gz) = a652050ea5c6fbeb8a28b05e2bc4a3550c854cc45f7f42c8c1b0a81f5b76773cdf061e6a839cdb339614118169e578b6e3efa5a3efbe59a2f01874b2fa2b4f2e
 Size (LuaBitOp-1.0.2.tar.gz) = 23127 bytes
-SHA1 (patch-Makefile) = 5b484bdbaa2cc94b1b73177f3eeb0a686f7e897d
+SHA1 (patch-Makefile) = 686c642a513e50156145738d13f0a7b3a18bce7e
diff -r 21d57b2a12a6 -r 13b57c89f895 devel/lua-BitOp/patches/patch-Makefile
--- a/devel/lua-BitOp/patches/patch-Makefile    Sun Aug 01 12:35:06 2021 +0000
+++ b/devel/lua-BitOp/patches/patch-Makefile    Sun Aug 01 12:39:46 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: patch-Makefile,v 1.3 2016/08/20 12:43:40 alnsn Exp $
+$NetBSD: patch-Makefile,v 1.4 2021/08/01 12:39:46 nia Exp $
 
 Install tweaks.
+macOS linking
 
 --- Makefile.orig      2012-05-08 19:15:00.000000000 +0000
 +++ Makefile
@@ -22,6 +23,15 @@
  
  CC= gcc
  CCOPT= -O2 -fomit-frame-pointer
+@@ -30,7 +30,7 @@ all: $(MODSO)
+ 
+ # Alternative target for compiling on Mac OS X:
+ macosx:
+-      $(MAKE) all "SOCC=MACOSX_DEPLOYMENT_TARGET=10.4 $(CC) -dynamiclib -single_module -undefined dynamic_lookup"
++      $(MAKE) all "SOCC=$(CC)"
+ 
+ $(MODNAME).o: $(MODNAME).c
+       $(CC) $(SOCFLAGS) -c -o $@ $<
 @@ -39,7 +39,8 @@ $(MODSO): $(MODNAME).o
        $(SOCC) $(SOLDFLAGS) -o $@ $<
  



Home | Main Index | Thread Index | Old Index