python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / policycoreutils / 0003-Remove-hardcoded-arch-variable.patch
blob375fb577f7be637db5c3b16b31224e785d161bf7
1 From 7424f2bea0cb412e96202f596ad8077131589f40 Mon Sep 17 00:00:00 2001
2 From: Adam Duskett <Aduskett@gmail.com>
3 Date: Thu, 14 Jul 2016 13:18:24 -0400
4 Subject: [PATCH] Remove hardcoded arch variable.
6 Allow the ARCH value to be passed in as original configuration was
7 solely based on host architecture.
9 This patch was updated to work with version 2.5
11 Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
12 Signed-off-by: Niranjan Reddy <niranjan.reddy@rockwellcollins.com>
13 Signed-off-by: Adam Duskett <AdamDuskett@outlook.com>
14 Signed-off-by: Adam Duskett <Aduskett@gmail.com>
15 ---
16 policycoreutils/mcstrans/src/Makefile | 1 -
17 policycoreutils/mcstrans/utils/Makefile | 1 -
18 2 files changed, 2 deletions(-)
20 diff --git a/mcstrans/src/Makefile b/mcstrans/src/Makefile
21 index 6fda57e..7b4489f 100644
22 --- a/mcstrans/src/Makefile
23 +++ b/mcstrans/src/Makefile
24 @@ -1,4 +1,3 @@
25 -ARCH = $(shell uname -i)
26 # Installation directories.
27 PREFIX ?= $(DESTDIR)/usr
28 SBINDIR ?= $(DESTDIR)/sbin
29 diff --git a/mcstrans/utils/Makefile b/mcstrans/utils/Makefile
30 index 1ffb027..912fe12 100644
31 --- a/mcstrans/utils/Makefile
32 +++ b/mcstrans/utils/Makefile
33 @@ -2,7 +2,6 @@
34 PREFIX ?= $(DESTDIR)/usr
35 BINDIR ?= $(PREFIX)/sbin
37 -ARCH = $(shell uname -i)
38 ifeq "$(ARCH)" "x86_64"
39 # In case of 64 bit system, use these lines
40 LIBDIR=/usr/lib64
41 --
42 2.7.4