rust: fix-darwin-install-name is no longer needed
This commit is contained in:
parent
aa5921f048
commit
41114bd85b
1 changed files with 1 additions and 13 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue