From f94138e7fea629e9131f1c373940f8f915e67d12 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 11 Mar 2012 15:17:20 +0100 Subject: [PATCH] strongswan: Build padlock plugin only on i686. All other architectures do not support this chipset. --- strongswan/strongswan.nm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/strongswan/strongswan.nm b/strongswan/strongswan.nm index 08f3cc3a6..ef43905af 100644 --- a/strongswan/strongswan.nm +++ b/strongswan/strongswan.nm @@ -5,7 +5,7 @@ name = strongswan version = 4.6.2 -release = 1 +release = 2 groups = Networking/VPN url = http://www.strongswan.org/ @@ -44,10 +44,13 @@ build --enable-ldap \ --enable-sqlite \ --enable-gcrypt \ - --enable-padlock \ --enable-cisco-quirks \ --with-capabilities=libcap + if "%{DISTRO_ARCH}" == "i686" + configure_options += --enable-padlock + end + test make check end -- 2.39.2