From 2bf7cfbdd59e4cf73ae5ee384a0117221bc5d491 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 14 Jan 2013 11:32:43 +0100 Subject: [PATCH] strongswan: fixed to use the linux kernel headers installed by the linux-header package --- security/strongswan/strongswan.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/security/strongswan/strongswan.conf b/security/strongswan/strongswan.conf index b5eab8ff5..5b9ba300b 100644 --- a/security/strongswan/strongswan.conf +++ b/security/strongswan/strongswan.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../strongswan/strongswan.conf -# Copyright (C) 2010 - 2011 The OpenSDE Project +# Copyright (C) 2010 - 2013 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -23,6 +23,11 @@ fi export ACLOCAL_FLAGS="-I m4/config/" autogen=1 +# use the installed linux headers +if pkginstalled -f linux-header; then + var_append extraconfopt ' ' "--with-linux-headers=$( pkgprefix -r includedir linux-header )" +fi + # checking if we can enable CRL fetching using HTTP if pkginstalled curl; then var_append extraconfopt ' ' "--enable-curl"