diff options
author | nia <nia@pkgsrc.org> | 2021-08-01 12:39:46 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-08-01 12:39:46 +0000 |
commit | d43fe66a3bc7006fe049e66eeb34a38df2648a6c (patch) | |
tree | 0794078f1483465e385762d765989d2be9cc3454 /devel | |
parent | cb9a1f4c72e6ec48f54317dd5fe820dc8bf96219 (diff) | |
download | pkgsrc-d43fe66a3bc7006fe049e66eeb34a38df2648a6c.tar.gz |
lua-BitOp: fix on macOS. via Jonathan Buschmann
PR pkg/56341
Diffstat (limited to 'devel')
-rw-r--r-- | devel/lua-BitOp/distinfo | 4 | ||||
-rw-r--r-- | devel/lua-BitOp/patches/patch-Makefile | 12 |
2 files changed, 13 insertions, 3 deletions
diff --git a/devel/lua-BitOp/distinfo b/devel/lua-BitOp/distinfo index b4939928cf5..31a1de69995 100644 --- a/devel/lua-BitOp/distinfo +++ b/devel/lua-BitOp/distinfo @@ -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 --git a/devel/lua-BitOp/patches/patch-Makefile b/devel/lua-BitOp/patches/patch-Makefile index bf300755508..9c13d9bdf50 100644 --- a/devel/lua-BitOp/patches/patch-Makefile +++ b/devel/lua-BitOp/patches/patch-Makefile @@ -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 @@ Install tweaks. 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 $@ $< |