diff options
author | nia <nia@pkgsrc.org> | 2020-06-03 10:45:04 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-06-03 10:45:04 +0000 |
commit | b3ee9e8bcafd31f582a01f25c75850b79eb14403 (patch) | |
tree | f2836a885dd8eb3ce5c942647777f8fcbacc7ebe /lang/rust-bin | |
parent | 65b9b7406b5a718c679aa72761b412444c3dfb80 (diff) | |
download | pkgsrc-b3ee9e8bcafd31f582a01f25c75850b79eb14403.tar.gz |
rust*: Add PKG_SKIP_REASON depending on the value of RUST_TYPE
Diffstat (limited to 'lang/rust-bin')
-rw-r--r-- | lang/rust-bin/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/rust-bin/Makefile b/lang/rust-bin/Makefile index 471ae617287..818d9bf3e96 100644 --- a/lang/rust-bin/Makefile +++ b/lang/rust-bin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2020/05/25 17:53:21 he Exp $ +# $NetBSD: Makefile,v 1.7 2020/06/03 10:45:04 nia Exp $ DISTNAME= rust-1.42.0 CATEGORIES= lang @@ -10,6 +10,12 @@ HOMEPAGE= https://rust-lang.org/ COMMENT= Safe, concurrent, practical language (official binaries) LICENSE= mit OR apache-2.0 +.include "../../lang/rust/type.mk" + +.if ${RUST_TYPE} != "bin" +PKG_SKIP_REASON+= "Rust binary package, RUST_TYPE is src" +.endif + ONLY_FOR_PLATFORM+= Darwin-*-x86_64 ONLY_FOR_PLATFORM+= FreeBSD-*-i386 ONLY_FOR_PLATFORM+= FreeBSD-*-x86_64 |