pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/avltree



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Mar  3 09:36:09 UTC 2022

Modified Files:
        pkgsrc/devel/avltree: Makefile

Log Message:
avltree: Fixup library name on Darwin.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/avltree/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/avltree/Makefile
diff -u pkgsrc/devel/avltree/Makefile:1.16 pkgsrc/devel/avltree/Makefile:1.17
--- pkgsrc/devel/avltree/Makefile:1.16  Wed Apr 21 08:39:56 2021
+++ pkgsrc/devel/avltree/Makefile       Thu Mar  3 09:36:09 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2021/04/21 08:39:56 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2022/03/03 09:36:09 jperkin Exp $
 
 DISTNAME=      avltree-1.1
 PKGREVISION=   1
@@ -20,4 +20,12 @@ INSTALLATION_DIRS=   include lib ${PKGMAND
 post-extract:
        cp -f ${FILESDIR}/Makefile ${WRKSRC}/
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+post-install:
+       ${RUN} install_name_tool -id ${PREFIX}/lib/libavltree.so.1.1 \
+           ${DESTDIR}${PREFIX}/lib/libavltree.so.1.1
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index