pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/rust



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Jan  5 21:37:43 UTC 2020

Modified Files:
        pkgsrc/lang/rust: Makefile

Log Message:
rust: fix building on Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 pkgsrc/lang/rust/Makefile

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

Modified files:

Index: pkgsrc/lang/rust/Makefile
diff -u pkgsrc/lang/rust/Makefile:1.134 pkgsrc/lang/rust/Makefile:1.135
--- pkgsrc/lang/rust/Makefile:1.134     Fri Jan  3 19:26:32 2020
+++ pkgsrc/lang/rust/Makefile   Sun Jan  5 21:37:43 2020
@@ -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 @@ GENERATE_PLIST+=    find ${DESTDIR}${PREFIX
 .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