summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-01-30 11:57:42 +0200
committerArmin Kuster <akuster808@gmail.com>2019-02-11 18:00:54 -0800
commit73bc1f132e4c6dae334caed89327ba113d776965 (patch)
tree98fe14aa670347bfc9e11f5c8781ec14dd400de6
parent9e163f6b993153b45688eeece0cb37df00ca6be7 (diff)
downloadmeta-security-73bc1f132e4c6dae334caed89327ba113d776965.tar.gz
xmlsec1: Make the crypto libraries a PACKAGECONFIG
Usually one doesn't need variants for all 4 different crypto libraries installed at the same time. Also remove a libgpg-error DEPENDS that is not used directly by xmlsec1. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-security/xmlsec1/xmlsec1_1.2.26.bb10
1 files changed, 6 insertions, 4 deletions
diff --git a/recipes-security/xmlsec1/xmlsec1_1.2.26.bb b/recipes-security/xmlsec1/xmlsec1_1.2.26.bb
index aca9634..4bdf498 100644
--- a/recipes-security/xmlsec1/xmlsec1_1.2.26.bb
+++ b/recipes-security/xmlsec1/xmlsec1_1.2.26.bb
@@ -5,7 +5,7 @@ DESCRIPTION = "\
5 XML security standards "XML Digital Signature" and "XML Encryption". \ 5 XML security standards "XML Digital Signature" and "XML Encryption". \
6 " 6 "
7HOMEPAGE = "http://www.aleksey.com/xmlsec/" 7HOMEPAGE = "http://www.aleksey.com/xmlsec/"
8DEPENDS = "libtool libxml2 libxslt openssl zlib libgcrypt gnutls nss nspr libgpg-error" 8DEPENDS = "libtool libxml2 libxslt zlib"
9 9
10LICENSE = "MIT" 10LICENSE = "MIT"
11LIC_FILES_CHKSUM = "file://COPYING;md5=352791d62092ea8104f085042de7f4d0" 11LIC_FILES_CHKSUM = "file://COPYING;md5=352791d62092ea8104f085042de7f4d0"
@@ -28,9 +28,11 @@ inherit autotools-brokensep ptest pkgconfig
28CFLAGS += "-I${STAGING_INCDIR}/nspr4 -I${STAGING_INCDIR}/nss3" 28CFLAGS += "-I${STAGING_INCDIR}/nspr4 -I${STAGING_INCDIR}/nss3"
29CPPFLAGS += "-I${STAGING_INCDIR}/nspr4 -I${STAGING_INCDIR}/nss3" 29CPPFLAGS += "-I${STAGING_INCDIR}/nspr4 -I${STAGING_INCDIR}/nss3"
30 30
31EXTRA_OECONF = "\ 31PACKAGECONFIG ??= "gnutls libgcrypt nss openssl"
32 --with-nss=${STAGING_LIBDIR}/../.. --with-nspr=${STAGING_LIBDIR}/../.. \ 32PACKAGECONFIG[gnutls] = ",,gnutls"
33 " 33PACKAGECONFIG[libgcrypt] = ",,libgcrypt"
34PACKAGECONFIG[nss] = "--with-nss=${STAGING_LIBDIR}/../.. --with-nspr=${STAGING_LIBDIR}/../..,,nss nspr"
35PACKAGECONFIG[openssl] = ",,openssl"
34 36
35# these can be dynamically loaded with xmlSecCryptoDLLoadLibrary() 37# these can be dynamically loaded with xmlSecCryptoDLLoadLibrary()
36FILES_SOLIBSDEV = "${libdir}/libxmlsec1.so" 38FILES_SOLIBSDEV = "${libdir}/libxmlsec1.so"