pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/archivers/lua-zlib



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Nov 23 16:25:53 UTC 2022

Modified Files:
        pkgsrc/archivers/lua-zlib: Makefile

Log Message:
lua-zlib: fix shared object id on Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/archivers/lua-zlib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/archivers/lua-zlib/Makefile
diff -u pkgsrc/archivers/lua-zlib/Makefile:1.6 pkgsrc/archivers/lua-zlib/Makefile:1.7
--- pkgsrc/archivers/lua-zlib/Makefile:1.6      Sat Dec 19 09:17:45 2020
+++ pkgsrc/archivers/lua-zlib/Makefile  Wed Nov 23 16:25:53 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2020/12/19 09:17:45 nia Exp $
+# $NetBSD: Makefile,v 1.7 2022/11/23 16:25:53 adam Exp $
 
 DISTNAME=      lua-zlib-1.2
 PKGNAME=       ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1}
@@ -26,8 +26,13 @@ BUILDLINK_TRANSFORM+=        rm:-llua
 
 BUILDLINK_TRANSFORM.Darwin+=   rm:-bundle
 
+.include "../../mk/bsd.prefs.mk"
+
 do-install:
        ${INSTALL_LIB} ${WRKSRC}/zlib.so ${DESTDIR}${PREFIX}/${LUA_CDIR}
+.if ${OPSYS} == "Darwin"
+       install_name_tool -id ${PREFIX}/${LUA_CDIR}/zlib.so ${DESTDIR}${PREFIX}/${LUA_CDIR}/zlib.so
+.endif
 
 .include "../../lang/lua/module.mk"
 .include "../../devel/zlib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index