summaryrefslogtreecommitdiff
path: root/package/ifupdown/0001-dont-use-dpkg-architecture.patch
blob: bb5c58f840b774c531bc19bfed9ffdb16ee9658a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Drop the need for dpkg-architecture, we only build for linux.
Thanks to Károly Kasza for catching this one.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

diff -Nura ifupdown.orig/defn2c.pl ifupdown/defn2c.pl
--- ifupdown.orig/defn2c.pl	2014-11-18 16:39:28.878772655 -0300
+++ ifupdown/defn2c.pl	2014-11-18 16:43:41.120456676 -0300
@@ -2,7 +2,7 @@
 
 use strict;
 
-my $DEB_HOST_ARCH_OS = `dpkg-architecture -qDEB_HOST_ARCH_OS`;
+my $DEB_HOST_ARCH_OS = "linux";
 
 $DEB_HOST_ARCH_OS =~ s/\n//;