diff options
author | adam <adam@pkgsrc.org> | 2016-04-01 13:26:03 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2016-04-01 13:26:03 +0000 |
commit | abeaaa43ca1c8b6f17fc0239a7a29fe8c8da8c90 (patch) | |
tree | d10ba610c79d3f8b1868cc3dc01755d32682b677 /lang/LuaJIT2 | |
parent | c4c48a2cdabb506f26c0996c5f1deba16a4491a9 (diff) | |
download | pkgsrc-abeaaa43ca1c8b6f17fc0239a7a29fe8c8da8c90.tar.gz |
Fix building on OS X.
Diffstat (limited to 'lang/LuaJIT2')
-rw-r--r-- | lang/LuaJIT2/distinfo | 3 | ||||
-rw-r--r-- | lang/LuaJIT2/patches/patch-src_Makefile | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/lang/LuaJIT2/distinfo b/lang/LuaJIT2/distinfo index ab0da94520e..7fb9f344186 100644 --- a/lang/LuaJIT2/distinfo +++ b/lang/LuaJIT2/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.7 2016/04/01 11:22:36 jperkin Exp $ +$NetBSD: distinfo,v 1.8 2016/04/01 13:26:03 adam Exp $ SHA1 (LuaJIT-2.0.4.tar.gz) = 6e533675180300e85d12c4bbeea2d0e41ad21172 RMD160 (LuaJIT-2.0.4.tar.gz) = ef9ec596ebf81e3871f060c40303bcd2002474c4 SHA512 (LuaJIT-2.0.4.tar.gz) = a72957bd85d8f457269e78bf08c19b28c5707df5d19920d61918f8a6913f55913ce13037fb9a6463c04cefde0c6644739f390e09d656e4bbc2c236927aa3f8f9 Size (LuaJIT-2.0.4.tar.gz) = 847615 bytes SHA1 (patch-Makefile) = 4dc6b2fd4f155700aa92e81bf2e10ce2e7990f16 +SHA1 (patch-src_Makefile) = 29426c80f12d34d69eff2dfae1da786827069163 diff --git a/lang/LuaJIT2/patches/patch-src_Makefile b/lang/LuaJIT2/patches/patch-src_Makefile new file mode 100644 index 00000000000..bbfd1b8f976 --- /dev/null +++ b/lang/LuaJIT2/patches/patch-src_Makefile @@ -0,0 +1,16 @@ +$NetBSD: patch-src_Makefile,v 1.1 2016/04/01 13:26:03 adam Exp $ + +Fix building on OS X. + +--- src/Makefile.orig 2015-05-14 18:30:00.000000000 +0000 ++++ src/Makefile +@@ -294,9 +294,6 @@ ifeq (,$(shell $(TARGET_CC) -o /dev/null + TARGET_XCFLAGS+= -fno-stack-protector + endif + ifeq (Darwin,$(TARGET_SYS)) +- ifeq (,$(MACOSX_DEPLOYMENT_TARGET)) +- export MACOSX_DEPLOYMENT_TARGET=10.4 +- endif + TARGET_STRIP+= -x + TARGET_AR+= 2>/dev/null + TARGET_XSHLDFLAGS= -dynamiclib -single_module -undefined dynamic_lookup -fPIC |