pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/jack jack: Fixup Darwin library install names.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/84dfe834d064
branches:  trunk
changeset: 768321:84dfe834d064
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Oct 18 14:25:55 2021 +0000

description:
jack: Fixup Darwin library install names.

diffstat:

 audio/jack/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 8ed7196dd476 -r 84dfe834d064 audio/jack/Makefile
--- a/audio/jack/Makefile       Mon Oct 18 13:56:36 2021 +0000
+++ b/audio/jack/Makefile       Mon Oct 18 14:25:55 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2021/09/16 13:43:01 nia Exp $
+# $NetBSD: Makefile,v 1.49 2021/10/18 14:25:55 jperkin Exp $
 
 DISTNAME=      jack2-1.9.19
 PKGNAME=       ${DISTNAME:S/jack2/jack/1}
@@ -41,6 +41,12 @@
 PLIST_VARS+=   darwin
 .if ${OPSYS} == "Darwin"
 PLIST.darwin=  yes
+
+post-install:
+       ${RUN} cd ${DESTDIR}${PREFIX} && \
+               for f in lib/jack/*.so; do \
+                       install_name_tool -id ${PREFIX}/$$f $$f; \
+               done
 .endif
 
 REPLACE_PYTHON+=       waf



Home | Main Index | Thread Index | Old Index