pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust rust: fix building on Darwin



details:   https://anonhg.NetBSD.org/pkgsrc/rev/152b393e930f
branches:  trunk
changeset: 407487:152b393e930f
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jan 05 21:37:43 2020 +0000

description:
rust: fix building on Darwin

diffstat:

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

diffs (19 lines):

diff -r 4b737ad63806 -r 152b393e930f lang/rust/Makefile
--- a/lang/rust/Makefile        Sun Jan 05 21:35:33 2020 +0000
+++ b/lang/rust/Makefile        Sun Jan 05 21:37:43 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.134 2020/01/03 19:26:32 jperkin Exp $
+# $NetBSD: Makefile,v 1.135 2020/01/05 21:37:43 adam Exp $
 
 DISTNAME=      rustc-1.40.0-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -364,8 +364,7 @@
 .PHONY: fix-darwin-install-name
 post-install: fix-darwin-install-name
 fix-darwin-install-name:
-       for f in ${DESTDIR}${PREFIX}/lib/librustc_macros-*.dylib \
-                ${DESTDIR}${PREFIX}/lib/rustlib/${RUST_ARCH}/lib/librustc_macros-*.dylib; do \
+       for f in ${DESTDIR}${PREFIX}/lib/librustc_macros-*.dylib; do \
                install_name_tool -id `${ECHO} $$f | ${SED} -e 's,${DESTDIR},,g'` $$f; \
        done
 .endif



Home | Main Index | Thread Index | Old Index