pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/taglib



Module Name:    pkgsrc
Committed By:   tnn
Date:           Wed Nov  2 22:54:39 UTC 2022

Modified Files:
        pkgsrc/audio/taglib: Makefile

Log Message:
taglib: fixup scuffed dylibs with install_name_tool in post-install


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/audio/taglib/Makefile

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

Modified files:

Index: pkgsrc/audio/taglib/Makefile
diff -u pkgsrc/audio/taglib/Makefile:1.44 pkgsrc/audio/taglib/Makefile:1.45
--- pkgsrc/audio/taglib/Makefile:1.44   Wed Nov  2 22:39:29 2022
+++ pkgsrc/audio/taglib/Makefile        Wed Nov  2 22:54:39 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2022/11/02 22:39:29 tnn Exp $
+# $NetBSD: Makefile,v 1.45 2022/11/02 22:54:39 tnn Exp $
 
 DISTNAME=      taglib-1.13
 CATEGORIES=    audio
@@ -45,5 +45,18 @@ GNU_ARCH.i386=               i486
 CFLAGS+=               -march=i486
 .endif
 
+.if ${OPSYS} == "Darwin"
+post-install:
+       install_name_tool -id                           \
+         ${PREFIX}/lib/libtag.1.dylib                  \
+         ${DESTDIR}${PREFIX}/lib/libtag.1.19.0.dylib
+       install_name_tool -id                           \
+         ${PREFIX}/lib/libtag_c.0.dylib                \
+         ${DESTDIR}${PREFIX}/lib/libtag_c.0.0.0.dylib  \
+         -change                                       \
+         lib/libtag.1.dylib                            \
+         ${PREFIX}/lib/libtag.1.dylib
+.endif
+
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index