File: remove-make-cmd.diff

package info (click to toggle)
rust-git-cinnabar 0.7.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,372 kB
  • sloc: ansic: 300,181; makefile: 2,754; sh: 118
file content (32 lines) | stat: -rw-r--r-- 927 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Description: Remove dependency on make-cmd
Author: Mike Hommey <glandium@debian.org>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: git-cinnabar/Cargo.toml
===================================================================
--- git-cinnabar.orig/Cargo.toml
+++ git-cinnabar/Cargo.toml
@@ -221,9 +221,6 @@ version = "1.0.46"
 [build-dependencies.itertools]
 version = "0.14"
 
-[build-dependencies.make-cmd]
-version = "0.1"
-
 [build-dependencies.rustflags]
 version = "0.1"
 optional = true
Index: git-cinnabar/build.rs
===================================================================
--- git-cinnabar.orig/build.rs
+++ git-cinnabar/build.rs
@@ -40,7 +40,8 @@ use std::path::{Path, PathBuf};
 use std::process::Command;
 
 use itertools::Itertools;
-use make_cmd::gnu_make;
+
+pub fn gnu_make() -> Command { Command::new("make") }
 
 #[cfg(not(windows))]
 fn normalize_path(s: &str) -> &str {