Patchwork curlftpfs: specify curl-config path

login
register
mail settings
Submitter Gustavo Zacarias
Date May 13, 2013, 1:01 p.m.
Message ID <1368450086-8430-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/243398/
State Accepted
Commit b1c2bed54717606e91518bb7562a47d4b4fbe769
Headers show

Comments

Gustavo Zacarias - May 13, 2013, 1:01 p.m.
curlftpfs may pick up the distribution curl-config rather than the one
in the staging area thus failing to build.
Fix it by hardcoding the curl-config path.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/curlftpfs/curlftpfs.mk | 1 +
 1 file changed, 1 insertion(+)
Peter Korsgaard - May 13, 2013, 2:20 p.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> curlftpfs may pick up the distribution curl-config rather than the one
 Gustavo> in the staging area thus failing to build.
 Gustavo> Fix it by hardcoding the curl-config path.

Committed, thanks.

Patch

diff --git a/package/curlftpfs/curlftpfs.mk b/package/curlftpfs/curlftpfs.mk
index c7d04ae..ff70f3b 100644
--- a/package/curlftpfs/curlftpfs.mk
+++ b/package/curlftpfs/curlftpfs.mk
@@ -6,6 +6,7 @@ 
 
 CURLFTPFS_VERSION = 0.9.2
 CURLFTPFS_SITE = http://downloads.sourceforge.net/project/curlftpfs/curlftpfs/$(CURLFTPFS_VERSION)
+CURLFTPFS_CONF_ENV = ac_cv_path__libcurl_config=$(STAGING_DIR)/usr/bin/curl-config
 CURLFTPFS_DEPENDENCIES = \
 	libglib2 libfuse openssl libcurl \
 	$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \