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: Wed Nov 8 11:16:56 UTC 2023
Modified Files:
pkgsrc/devel/lua-posix: Makefile
Log Message:
lua-posix: -dynamiclib cannot be combined with -bundle with old versions
of the Darwin linker, and older Darwin linkers don't understand -shared
anyway
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 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.24 pkgsrc/devel/lua-posix/Makefile:1.25
--- pkgsrc/devel/lua-posix/Makefile:1.24 Fri Dec 10 13:20:54 2021
+++ pkgsrc/devel/lua-posix/Makefile Wed Nov 8 11:16:56 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2021/12/10 13:20:54 nia Exp $
+# $NetBSD: Makefile,v 1.25 2023/11/08 11:16:56 nia Exp $
DISTNAME= luaposix-35.1
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/^lua//1}
@@ -26,7 +26,13 @@ DEPENDS+= ${LUA_PKGPREFIX}-std-_debug-[0
DEPENDS+= lua51-bit32-[0-9]*:../../devel/lua-bit32
.endif
+.include "../../mk/bsd.pkg.mk"
+
+.if ${OPSYS} != "Darwin"
LIBFLAG+= ${LDFLAGS} -shared -fPIC
+.else
+LIBFLAG+= ${LDFLAGS} -fPIC
+.endif
do-build:
cd ${WRKSRC} && \
Home |
Main Index |
Thread Index |
Old Index