pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/rust



Module Name:    pkgsrc
Committed By:   pho
Date:           Tue Apr 27 10:31:53 UTC 2021

Modified Files:
        pkgsrc/lang/rust: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.235 -r1.236 pkgsrc/lang/rust/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/rust/Makefile
diff -u pkgsrc/lang/rust/Makefile:1.235 pkgsrc/lang/rust/Makefile:1.236
--- pkgsrc/lang/rust/Makefile:1.235     Tue Apr 27 09:10:07 2021
+++ pkgsrc/lang/rust/Makefile   Tue Apr 27 10:31:52 2021
@@ -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 @@ 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
+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