pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/lua-posix
Module Name: pkgsrc
Committed By: nia
Date: Sat Jul 11 14:34:22 UTC 2020
Modified Files:
pkgsrc/devel/lua-posix: Makefile
Log Message:
lua-posix: Attempt to fix Darwin build
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/lua-posix/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/lua-posix/Makefile
diff -u pkgsrc/devel/lua-posix/Makefile:1.19 pkgsrc/devel/lua-posix/Makefile:1.20
--- pkgsrc/devel/lua-posix/Makefile:1.19 Sat Jul 11 14:33:00 2020
+++ pkgsrc/devel/lua-posix/Makefile Sat Jul 11 14:34:22 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2020/07/11 14:33:00 nia Exp $
+# $NetBSD: Makefile,v 1.20 2020/07/11 14:34:22 nia Exp $
DISTNAME= luaposix-34.1.1
PKGNAME= ${DISTNAME:S/lua/${LUA_PKGPREFIX}-/}
@@ -24,7 +24,13 @@ DEPENDS+= ${LUA_PKGPREFIX}-std-_debug-[0
DEPENDS+= lua51-bit32-[0-9]*:../../devel/lua-bit32
.endif
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+LIBFLAG+= ${LDFLAGS} -shared -fPIC -undefined dynamic_lookup
+.else
LIBFLAG+= ${LDFLAGS} -shared -fPIC
+.endif
do-build:
cd ${WRKSRC} && \
Home |
Main Index |
Thread Index |
Old Index