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-darwin-install-name is no longer n...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/022cb70ea058
branches:  trunk
changeset: 453692:022cb70ea058
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jun 01 18:15:30 2021 +0000

description:
rust: fix-darwin-install-name is no longer needed

diffstat:

 lang/rust/Makefile |  14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)

diffs (28 lines):

diff -r 27415c698353 -r 022cb70ea058 lang/rust/Makefile
--- a/lang/rust/Makefile        Tue Jun 01 16:28:05 2021 +0000
+++ b/lang/rust/Makefile        Tue Jun 01 18:15:30 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.239 2021/05/31 10:17:53 he Exp $
+# $NetBSD: Makefile,v 1.240 2021/06/01 18:15:30 adam Exp $
 
 DISTNAME=      rustc-1.52.1-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -474,18 +474,6 @@
        ${SETENV} ${MAKE_ENV} ${INSTALL_ENV}                            \
                ${PYTHONBIN} ./x.py -v install -j ${_MAKE_JOBS_N}
 
-.if ${OPSYS} == "Darwin"
-.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/libtracing_attributes-*.dylib \
-           ${DESTDIR}${PREFIX}/lib/libserde_derive-*.dylib; \
-           ${DESTDIR}${PREFIX}/lib/libchalk_derive-*.dylib; do \
-               install_name_tool -id `${ECHO} $$f | ${SED} -e 's,${DESTDIR},,g'` $$f; \
-       done
-.endif
-
 # MacOS X 10.7 is the oldest supported version. See
 # ${WRKSRC}/src/bootstrap/lib.rs
 MAKE_ENV.Darwin+=      MACOSX_DEPLOYMENT_TARGET="10.7"



Home | Main Index | Thread Index | Old Index