pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/vamp-plugin-sdk



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Fri Dec 15 13:26:51 UTC 2023

Modified Files:
        pkgsrc/audio/vamp-plugin-sdk: Makefile

Log Message:
vamp-plugin-sdk: fix shlib rpaths on macOS.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/audio/vamp-plugin-sdk/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/vamp-plugin-sdk/Makefile
diff -u pkgsrc/audio/vamp-plugin-sdk/Makefile:1.12 pkgsrc/audio/vamp-plugin-sdk/Makefile:1.13
--- pkgsrc/audio/vamp-plugin-sdk/Makefile:1.12  Tue Jul 18 12:56:06 2023
+++ pkgsrc/audio/vamp-plugin-sdk/Makefile       Fri Dec 15 13:26:50 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2023/07/18 12:56:06 nia Exp $
+# $NetBSD: Makefile,v 1.13 2023/12/15 13:26:50 schmonz Exp $
 
 DISTNAME=      vamp-plugin-sdk-2.10.0
 PKGREVISION=   3
@@ -29,6 +29,18 @@ PKGCONFIG_OVERRIDE+= pkgconfig/vamp.pc.i
 
 BUILDLINK_TRANSFORM.SunOS+=    rm:-Wl,--version-script=build/vamp-plugin.map
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+.PHONY: post-install-darwin-fix-rpath
+post-install: post-install-darwin-fix-rpath
+post-install-darwin-fix-rpath:
+       cd ${DESTDIR};                                                                  \
+       for i in $$(${FIND} .${PREFIX}/lib -name '*.so' | ${SED} -e 's|^\./||'); do     \
+         install_name_tool -id /$$i $$i;                                               \
+       done
+.endif
+
 .include "../../audio/libsndfile/buildlink3.mk"
 .include "../../mk/dlopen.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index