autospec/0003-pck-update-specify-target_cpu-when-installing-build-.patch

27 lines
919 B
Diff

From c4e2f98d93f21049bc7c17f18bd860282382dae2 Mon Sep 17 00:00:00 2001
From: Silvan Calarco <silvan.calarco@mambasoft.it>
Date: Sat, 22 Feb 2014 22:36:10 +0100
Subject: [PATCH 3/3] pck-update: specify target_cpu when installing build
requirements for x86_64 multiarch support
---
plugins/pck-update.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/pck-update.in b/plugins/pck-update.in
index c20f7f2..48cfd6f 100644
--- a/plugins/pck-update.in
+++ b/plugins/pck-update.in
@@ -1990,7 +1990,7 @@ build requirement found"": \`${NOTE}$f${NORM}' ""\
# remove duplicates
buildreqs_to_install=(
-$(for f in ${buildreqs_to_install[@]}; do echo $f; done | sort -u))
+$(for f in ${buildreqs_to_install[@]}; do echo $f@$target_cpu; done | sort -u))
# install missing build requirements
if [[ "${buildreqs_to_install[@]}" ]]; then
--
1.9.3