pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust Improve my last patch according to a suggest...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e8a424c51506
branches:  trunk
changeset: 451471:e8a424c51506
user:      pho <pho%pkgsrc.org@localhost>
date:      Tue Apr 27 10:31:52 2021 +0000

description:
Improve my last patch according to a suggestion from jperkin@

diffstat:

 lang/rust/Makefile |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 1c81f8854b32 -r e8a424c51506 lang/rust/Makefile
--- a/lang/rust/Makefile        Tue Apr 27 10:27:21 2021 +0000
+++ b/lang/rust/Makefile        Tue Apr 27 10:31:52 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.235 2021/04/27 09:10:07 pho Exp $
+# $NetBSD: Makefile,v 1.236 2021/04/27 10:31:52 pho Exp $
 
 DISTNAME=      rustc-1.50.0-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -464,11 +464,9 @@
        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
+MAKE_ENV.Darwin+=      MACOSX_DEPLOYMENT_TARGET="10.7"
 
 GENERATE_PLIST+=       ${FIND} ${DESTDIR}${PREFIX} \( -type f -o -type l \) -print | \
                        ${SED} -e 's,${DESTDIR}${PREFIX}/,,' | ${SORT} ;



Home | Main Index | Thread Index | Old Index