summaryrefslogtreecommitdiff
path: root/lang/rust
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2019-10-24 17:34:10 +0000
committerjperkin <jperkin@pkgsrc.org>2019-10-24 17:34:10 +0000
commitf54f070de3423fcfea7217c1443a7c25c1058b11 (patch)
treeb2e192dda168fc03f115da41d06eef3fcb80c3d2 /lang/rust
parent04bde83d46ac40677e7ca940cb5fc0b9fd6d7b38 (diff)
downloadpkgsrc-f54f070de3423fcfea7217c1443a7c25c1058b11.tar.gz
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 (limited to 'lang/rust')
-rw-r--r--lang/rust/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 89b26331b14..9f48dd9068d 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -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 @@ RUST_BOOTSTRAP_PATH?= ${WRKDIR}/rust-bootstrap
.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