pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc
Module Name: pkgsrc
Committed By: nia
Date: Sat Jul 11 14:20:06 UTC 2020
Modified Files:
pkgsrc/databases/lua-lsqlite3: Makefile
pkgsrc/devel/lua-bit32: Makefile
pkgsrc/devel/lua-bit32/files: Makefile
pkgsrc/devel/lua-compat53: Makefile
pkgsrc/devel/lua-event: Makefile
pkgsrc/textproc/lua-lyaml: Makefile
pkgsrc/textproc/lua-utf8: Makefile
Log Message:
Help the macOS linker understand that these are runtime-loaded modules.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/lua-lsqlite3/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/lua-bit32/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/lua-bit32/files/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/lua-compat53/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/lua-event/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/lua-lyaml/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/lua-utf8/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/lua-lsqlite3/Makefile
diff -u pkgsrc/databases/lua-lsqlite3/Makefile:1.1 pkgsrc/databases/lua-lsqlite3/Makefile:1.2
--- pkgsrc/databases/lua-lsqlite3/Makefile:1.1 Thu Jul 9 15:27:56 2020
+++ pkgsrc/databases/lua-lsqlite3/Makefile Sat Jul 11 14:20:05 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/07/09 15:27:56 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/07/11 14:20:05 nia Exp $
DISTNAME= lsqlite3_fsl09y
PKGNAME= ${LUA_PKGPREFIX}-lsqlite3-0.9.5
@@ -11,6 +11,8 @@ HOMEPAGE= http://lua.sqlite.org/index.cg
COMMENT= Binding for Lua to the SQLite3 database library
LICENSE= mit
+LDFLAGS.Darwin+= -undefined dynamic_lookup
+
INSTALLATION_DIRS+= ${LUA_CDIR} ${LUA_LDIR}
INSTALLATION_DIRS+= ${LUA_DOCDIR}/examples
Index: pkgsrc/devel/lua-bit32/Makefile
diff -u pkgsrc/devel/lua-bit32/Makefile:1.1 pkgsrc/devel/lua-bit32/Makefile:1.2
--- pkgsrc/devel/lua-bit32/Makefile:1.1 Sat Jul 11 13:58:11 2020
+++ pkgsrc/devel/lua-bit32/Makefile Sat Jul 11 14:20:05 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/07/11 13:58:11 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/07/11 14:20:05 nia Exp $
# Keep versioning in sync with the luarocks rockspec.
DISTNAME= lua-compat53-0.9
@@ -16,6 +16,8 @@ LICENSE= mit
CONFLICTS+= ${LUA_PKGPREFIX}-bitlib-[0-9]*
SUPERSEDES+= ${LUA_PKGPREFIX}-bitlib-[0-9]*
+LDFLAGS.Darwin+= -undefined dynamic_lookup
+
INSTALLATION_DIRS+= ${LUA_CDIR}
pre-build:
Index: pkgsrc/devel/lua-bit32/files/Makefile
diff -u pkgsrc/devel/lua-bit32/files/Makefile:1.1 pkgsrc/devel/lua-bit32/files/Makefile:1.2
--- pkgsrc/devel/lua-bit32/files/Makefile:1.1 Sat Jul 11 13:58:11 2020
+++ pkgsrc/devel/lua-bit32/files/Makefile Sat Jul 11 14:20:05 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/07/11 13:58:11 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/07/11 14:20:05 nia Exp $
all: bit32.so
@@ -6,4 +6,4 @@ all: bit32.so
$(CC) $(CFLAGS) -DLUA_COMPAT_BITLIB -fPIC -c $<
bit32.so: lbitlib.o
- $(CC) $(LDFLAGS) -shared -o $@ lbitlib.o
+ $(CC) $(LDFLAGS) -z undefs -shared -o $@ lbitlib.o
Index: pkgsrc/devel/lua-compat53/Makefile
diff -u pkgsrc/devel/lua-compat53/Makefile:1.2 pkgsrc/devel/lua-compat53/Makefile:1.3
--- pkgsrc/devel/lua-compat53/Makefile:1.2 Sat Jul 11 13:48:49 2020
+++ pkgsrc/devel/lua-compat53/Makefile Sat Jul 11 14:20:06 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2020/07/11 13:48:49 nia Exp $
+# $NetBSD: Makefile,v 1.3 2020/07/11 14:20:06 nia Exp $
DISTNAME= lua-compat53-0.9
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/^lua-//1}
@@ -14,6 +14,8 @@ LICENSE= mit
PLIST_SUBST+= LUA_INCDIR=${LUA_INCDIR}
+LDFLAGS.Darwin+= -undefined dynamic_lookup
+
PRINT_PLIST_AWK+= /^${LUA_INCDIR:S|/|\\/|g}/ \
{ gsub(/${LUA_INCDIR:S|/|\\/|g}/, "$${LUA_INCDIR}") }
Index: pkgsrc/devel/lua-event/Makefile
diff -u pkgsrc/devel/lua-event/Makefile:1.1 pkgsrc/devel/lua-event/Makefile:1.2
--- pkgsrc/devel/lua-event/Makefile:1.1 Sat Jul 11 12:37:25 2020
+++ pkgsrc/devel/lua-event/Makefile Sat Jul 11 14:20:06 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/07/11 12:37:25 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/07/11 14:20:06 nia Exp $
DISTNAME= luaevent-0.4.6
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/^lua//1}
@@ -14,6 +14,8 @@ LICENSE= mit
BUILD_DIRS+= src
+LDFLAGS.Darwin+= -undefined dynamic_lookup
+
INSTALLATION_DIRS+= ${LUA_DOCDIR}
INSTALLATION_DIRS+= ${LUA_DOCDIR}/modules
INSTALLATION_DIRS+= ${LUA_CDIR}/luaevent
Index: pkgsrc/textproc/lua-lyaml/Makefile
diff -u pkgsrc/textproc/lua-lyaml/Makefile:1.1 pkgsrc/textproc/lua-lyaml/Makefile:1.2
--- pkgsrc/textproc/lua-lyaml/Makefile:1.1 Thu Jul 9 21:30:17 2020
+++ pkgsrc/textproc/lua-lyaml/Makefile Sat Jul 11 14:20:06 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/07/09 21:30:17 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/07/11 14:20:06 nia Exp $
DISTNAME= lyaml-6.2.5
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME}
@@ -16,6 +16,8 @@ BUILD_DIRS= ext/yaml
MAKE_FLAGS+= PKGVERSION=${PKGVERSION}
+LDFLAGS.Darwin+= -undefined dynamic_lookup
+
INSTALLATION_DIRS+= ${LUA_DOCDIR}
INSTALLATION_DIRS+= ${LUA_CDIR}
INSTALLATION_DIRS+= ${LUA_LDIR}/lyaml
Index: pkgsrc/textproc/lua-utf8/Makefile
diff -u pkgsrc/textproc/lua-utf8/Makefile:1.1 pkgsrc/textproc/lua-utf8/Makefile:1.2
--- pkgsrc/textproc/lua-utf8/Makefile:1.1 Thu Jul 2 17:13:37 2020
+++ pkgsrc/textproc/lua-utf8/Makefile Sat Jul 11 14:20:06 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/07/02 17:13:37 nia Exp $
+# $NetBSD: Makefile,v 1.2 2020/07/11 14:20:06 nia Exp $
DISTNAME= lua-utf8-0.1.2
PKGNAME= ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1}
@@ -13,6 +13,8 @@ LICENSE= mit
WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+LDFLAGS.Darwin+= -undefined dynamic_lookup
+
INSTALLATION_DIRS+= ${LUA_CDIR}
pre-build:
Home |
Main Index |
Thread Index |
Old Index