Patchwork libsecret: specify where libgcrypt lives

login
register
mail settings
Submitter Gustavo Zacarias
Date Sept. 3, 2013, 1:27 p.m.
Message ID <1378214841-12006-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/272249/
State Accepted
Commit c19bf136bdfcf943f2443c45e4452fba060d19d8
Headers show

Comments

Gustavo Zacarias - Sept. 3, 2013, 1:27 p.m.
When libgcrypt support is enabled the configure script will try to
find libgcrypt-config in the PATH. If the host distribution has it then
brokeness ensues. Fixes:
http://autobuild.buildroot.net/results/eca/eca10b8360354e7e51406f7ac942d343987bde5e/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/libsecret/libsecret.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Peter Korsgaard - Sept. 3, 2013, 2:40 p.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> When libgcrypt support is enabled the configure script will try to
 Gustavo> find libgcrypt-config in the PATH. If the host distribution has it then
 Gustavo> brokeness ensues. Fixes:
 Gustavo> http://autobuild.buildroot.net/results/eca/eca10b8360354e7e51406f7ac942d343987bde5e/

Committed, thanks.

Patch

diff --git a/package/libsecret/libsecret.mk b/package/libsecret/libsecret.mk
index e445ea6..a0f39f8 100644
--- a/package/libsecret/libsecret.mk
+++ b/package/libsecret/libsecret.mk
@@ -16,7 +16,8 @@  LIBSECRET_CONF_OPT = --disable-manpages --disable-strict --disable-coverage --en
 
 ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
 	LIBSECRET_DEPENDENCIES += libgcrypt
-	LIBSECRET_CONF_OPT += --enable-gcrypt
+	LIBSECRET_CONF_OPT += --enable-gcrypt \
+		--with-libgcrypt-prefix=$(STAGING_DIR)/usr
 else
 	LIBSECRET_CONF_OPT += --disable-gcrypt
 endif