summaryrefslogtreecommitdiff
path: root/www/cliqz
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-06-14 15:33:27 +0000
committernia <nia@pkgsrc.org>2020-06-14 15:33:27 +0000
commit6126f20f213effac25d2b477408cb022d7795aae (patch)
tree883c3889f85a9a0b583726a3b6ffaa4cf9123229 /www/cliqz
parent8ee5b232965adfd9937fc7cf874314933b58a950 (diff)
downloadpkgsrc-6126f20f213effac25d2b477408cb022d7795aae.tar.gz
Rename rust-bin's PKGNAME to rust-bin. Add rust.mk for rust packages.
This allows rust-bin and rust to coexist in bulk builds (for testing, etc), but the packages still may not be installed at the same time. rust.mk as a solution for picking the correct rust variant was suggested by gdt@. It is intended to be included directly by packages that do not use cargo.mk, and indirectly by packages that do use cargo.mk. rust.mk provides one user-settable variable: RUST_TYPE as before, whether to bootstrap rust from source or use official binaries. may be "src" or "bin" And two package-settable variables: RUST_REQ the minimum version of Rust required by the package. defaults to "1.20.0" RUST_RUNTIME whether Rust is a runtime dependency, may be "yes" or "no"
Diffstat (limited to 'www/cliqz')
-rw-r--r--www/cliqz/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/www/cliqz/Makefile b/www/cliqz/Makefile
index 6e3749b7d7b..5cf7b6c1af6 100644
--- a/www/cliqz/Makefile
+++ b/www/cliqz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2020/06/02 08:24:56 adam Exp $
+# $NetBSD: Makefile,v 1.43 2020/06/14 15:33:28 nia Exp $
DISTNAME= cliqz-1.36.0
PKGREVISION= 1
@@ -175,8 +175,7 @@ PKG_CC= ${PREFIX}/bin/clang
PKG_CXX= ${PREFIX}/bin/clang++
BUILDLINK_DEPMETHOD.clang= build
.include "../../lang/clang/buildlink3.mk"
-BUILDLINK_DEPMETHOD.rust= build
-BUILDLINK_API_DEPENDS.rust+= rust>=1.41.0
-.include "../../lang/rust/buildlink3.mk"
+RUST_REQ= 1.41.0
+.include "../../lang/rust/rust.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"