Received: by mail.netbsd.org (Postfix, from userid 605) id 666A784DAB; Tue, 27 Apr 2021 09:10:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A1B4B84D8A for ; Tue, 27 Apr 2021 09:10:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id mQJ6uUaKdqpu for ; Tue, 27 Apr 2021 09:10:08 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 07BA784D4C for ; Tue, 27 Apr 2021 09:10:08 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 01875FA95; Tue, 27 Apr 2021 09:10:07 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_16195146075570" MIME-Version: 1.0 Date: Tue, 27 Apr 2021 09:10:07 +0000 From: "Masatake Daimon" Subject: CVS commit: pkgsrc/lang/rust To: pkgsrc-changes@NetBSD.org Reply-To: pho@netbsd.org X-Mailer: log_accum Message-Id: <20210427091008.01875FA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_16195146075570 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: pho Date: Tue Apr 27 09:10:07 UTC 2021 Modified Files: pkgsrc/lang/rust: Makefile Log Message: Fix build on Darwin To generate a diff of this commit: cvs rdiff -u -r1.234 -r1.235 pkgsrc/lang/rust/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_16195146075570 Content-Disposition: inline Content-Length: 835 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/rust/Makefile diff -u pkgsrc/lang/rust/Makefile:1.234 pkgsrc/lang/rust/Makefile:1.235 --- pkgsrc/lang/rust/Makefile:1.234 Sat Apr 24 08:27:59 2021 +++ pkgsrc/lang/rust/Makefile Tue Apr 27 09:10:07 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.234 2021/04/24 08:27:59 schmonz Exp $ +# $NetBSD: Makefile,v 1.235 2021/04/27 09:10:07 pho Exp $ DISTNAME= rustc-1.50.0-src PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//} @@ -464,6 +464,12 @@ fix-darwin-install-name: done .endif +.if !empty(MACHINE_PLATFORM:MDarwin-*-*) +# MacOS X 10.7 is the oldest supported version. See +# ${WRKSRC}/src/bootstrap/lib.rs +MAKE_ENV+= MACOSX_DEPLOYMENT_TARGET="10.7" +.endif + GENERATE_PLIST+= ${FIND} ${DESTDIR}${PREFIX} \( -type f -o -type l \) -print | \ ${SED} -e 's,${DESTDIR}${PREFIX}/,,' | ${SORT} ; --_----------=_16195146075570--