summaryrefslogtreecommitdiff
path: root/lang/rust
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-06-01 18:15:30 +0000
committeradam <adam@pkgsrc.org>2021-06-01 18:15:30 +0000
commit0b77d10cb496df57df16a5bc447197caedf90b2f (patch)
tree704d9590b8ff57d18208f1d407f2095fd60a5cc8 /lang/rust
parent042a56414eb6718edbbabd0f2a8944e947e6d031 (diff)
downloadpkgsrc-0b77d10cb496df57df16a5bc447197caedf90b2f.tar.gz
rust: fix-darwin-install-name is no longer needed
Diffstat (limited to 'lang/rust')
-rw-r--r--lang/rust/Makefile14
1 files changed, 1 insertions, 13 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 7a0e62a2cda..13405197033 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -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 @@ do-install:
${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"