pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
wip/rust-bindgen: use mk/cargo-binary.mk
Module Name: pkgsrc-wip
Committed By: ng0 <ng0%NetBSD.org@localhost>
Pushed By: ng0
Date: Wed Aug 21 10:19:35 2019 +0000
Changeset: 7a377d9c2e870540d8f9bc0fb8afe846ce36fc3f
Modified Files:
rust-bindgen/Makefile
Log Message:
wip/rust-bindgen: use mk/cargo-binary.mk
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7a377d9c2e870540d8f9bc0fb8afe846ce36fc3f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
rust-bindgen/Makefile | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diffs:
diff --git a/rust-bindgen/Makefile b/rust-bindgen/Makefile
index 0e875099dd..68b4b0c1d4 100644
--- a/rust-bindgen/Makefile
+++ b/rust-bindgen/Makefile
@@ -68,12 +68,5 @@ USE_LANGUAGES= c c++
INSTALLATION_DIRS= bin
-do-build:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/cargo build --locked --frozen --release
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/target/release/bindgen ${DESTDIR}${PREFIX}/bin/bindgen
-
-.include "../../lang/rust/buildlink3.mk"
-.include "../../lang/rust/cargo.mk"
+.include "../../wip/mk/cargo-binary.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index