Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust Add another post-install dylib rpath fixup f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fdb35067b3dc
branches:  trunk
changeset: 437513:fdb35067b3dc
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Tue Aug 25 08:54:25 2020 +0000

description:
Add another post-install dylib rpath fixup for macOS. Bump PKGREVISION.

diffstat:

 lang/rust/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r b251a8f76bf2 -r fdb35067b3dc lang/rust/Makefile
--- a/lang/rust/Makefile        Tue Aug 25 08:32:13 2020 +0000
+++ b/lang/rust/Makefile        Tue Aug 25 08:54:25 2020 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.188 2020/08/06 11:42:56 jperkin Exp $
+# $NetBSD: Makefile,v 1.189 2020/08/25 08:54:25 schmonz Exp $
 
 DISTNAME=      rustc-1.45.2-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
+PKGREVISION=   1
 CATEGORIES=    lang
 MASTER_SITES=  http://static.rust-lang.org/dist/
 
@@ -407,7 +408,8 @@
 .PHONY: fix-darwin-install-name
 post-install: fix-darwin-install-name
 fix-darwin-install-name:
-       for f in ${DESTDIR}${PREFIX}/lib/librustc_macros-*.dylib; do \
+       for f in ${DESTDIR}${PREFIX}/lib/librustc_macros-*.dylib \
+           ${DESTDIR}${PREFIX}/lib/libchalk_derive-*.dylib; do \
                install_name_tool -id `${ECHO} $$f | ${SED} -e 's,${DESTDIR},,g'` $$f; \
        done
 .endif



Home | Main Index | Thread Index | Old Index