aboutsummaryrefslogtreecommitdiff
path: root/package/opkg
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2015-06-06 15:38:56 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-06-06 15:38:56 +0200
commitde823a5bd3976ac9fcf039c57869ccf8e9fc0a45 (patch)
tree29ba272af9f1a708c8844f9e0e314534e49c2227 /package/opkg
parentf71a621d91ec27f175fc84012962f88b1107305f (diff)
downloadbuildroot-de823a5bd3976ac9fcf039c57869ccf8e9fc0a45.tar.gz
buildroot-de823a5bd3976ac9fcf039c57869ccf8e9fc0a45.tar.bz2
opkg: gpg support needs libgpg-error
Fixes: http://autobuild.buildroot.net/results/1ec/1ec6990354016a740a8f54e07066e5fa4e732ab0/ Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/opkg')
-rw-r--r--package/opkg/Config.in1
-rw-r--r--package/opkg/opkg.mk6
2 files changed, 5 insertions, 2 deletions
diff --git a/package/opkg/Config.in b/package/opkg/Config.in
index df6ebff2a9..495ce91f3e 100644
--- a/package/opkg/Config.in
+++ b/package/opkg/Config.in
@@ -23,6 +23,7 @@ if BR2_PACKAGE_OPKG
config BR2_PACKAGE_OPKG_GPG_SIGN
bool "gnupg support"
select BR2_PACKAGE_LIBGPGME
+ select BR2_PACKAGE_LIBGPG_ERROR
help
Enable opkg package signature checking support using
gnupg/libgpgme.
diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk
index 5c79fc7e5d..bcf3f78057 100644
--- a/package/opkg/opkg.mk
+++ b/package/opkg/opkg.mk
@@ -22,8 +22,10 @@ endef
ifeq ($(BR2_PACKAGE_OPKG_GPG_SIGN),y)
OPKG_CONF_OPTS += --enable-gpg
-OPKG_CONF_ENV = ac_cv_path_GPGME_CONFIG=$(STAGING_DIR)/usr/bin/gpgme-config
-OPKG_DEPENDENCIES += libgpgme
+OPKG_CONF_ENV += \
+ ac_cv_path_GPGME_CONFIG=$(STAGING_DIR)/usr/bin/gpgme-config \
+ ac_cv_path_GPGERR_CONFIG=$(STAGING_DIR)/usr/bin/gpg-error-config
+OPKG_DEPENDENCIES += libgpgme libgpg-error
else
OPKG_CONF_OPTS += --disable-gpg
endif