pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust rust: Switch to using pkgsrc gzip for extrac...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5fd414579361
branches:  trunk
changeset: 403257:5fd414579361
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Oct 24 17:34:10 2019 +0000

description:
rust: Switch to using pkgsrc gzip for extraction on SunOS.

Something in the rust-1.38 tarball is tickling a bug in the version of
gzip shipped at least on SmartOS.

diffstat:

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

diffs (20 lines):

diff -r f4647a3a1641 -r 5fd414579361 lang/rust/Makefile
--- a/lang/rust/Makefile        Thu Oct 24 17:09:06 2019 +0000
+++ b/lang/rust/Makefile        Thu Oct 24 17:34:10 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.117 2019/10/02 12:51:43 he Exp $
+# $NetBSD: Makefile,v 1.118 2019/10/24 17:34:10 jperkin Exp $
 
 DISTNAME=      rustc-1.38.0-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -280,8 +280,10 @@
 
 .if ${OPSYS} == "SunOS"
 BUILD_DEPENDS+=                coreutils>=0:../../sysutils/coreutils
+BUILD_DEPENDS+=                gzip>=0:../../archivers/gzip
 TOOLS_CREATE+=         md5sum
 TOOLS_PATH.md5sum=     ${PREFIX}/bin/gmd5sum
+TOOLS_PLATFORM.gzcat=  ${PREFIX}/bin/gzip -cd
 .endif
 
 SUBST_CLASSES+=                rpath



Home | Main Index | Thread Index | Old Index