* [Buildroot] [PATCH] php-gnupg: force gnupg detection
@ 2014-03-01 18:26 Gustavo Zacarias
2014-03-01 19:41 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2014-03-01 18:26 UTC (permalink / raw)
To: buildroot
Hardcode the gpg path and detection otherwise it will fail on a host
that doesn't have gnupg installed. Fixes:
http://autobuild.buildroot.net/results/757/757fb0b12af12de4f128d9c503d45b20776c2313/
Also define PHP_AUTOCONF and PHP_AUTOHEADER as other extensions do to
avoid stray issues.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/php-gnupg/php-gnupg.mk | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/package/php-gnupg/php-gnupg.mk b/package/php-gnupg/php-gnupg.mk
index 5fc1dc4..989c55b 100644
--- a/package/php-gnupg/php-gnupg.mk
+++ b/package/php-gnupg/php-gnupg.mk
@@ -9,12 +9,15 @@ PHP_GNUPG_SOURCE = gnupg-$(PHP_GNUPG_VERSION).tgz
PHP_GNUPG_SITE = http://pecl.php.net/get
# phpize does the autoconf magic
PHP_GNUPG_DEPENDENCIES = php libgpgme host-autoconf host-pkgconf
-PHP_GNUPG_CONF_OPT = --with-php-config=$(STAGING_DIR)/usr/bin/php-config
+PHP_GNUPG_CONF_OPT = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \
+ --with-gnupg=$(STAGING_DIR)/usr/include --with-gpg=/usr/bin/gpg
PHP_GNUPG_LICENSE = BSD-2c
PHP_GNUPG_LICENSE_FILES = LICENSE
define PHP_GNUPG_PHPIZE
(cd $(@D); \
+ PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
+ PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \
$(STAGING_DIR)/usr/bin/phpize)
endef
--
1.8.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] php-gnupg: force gnupg detection
2014-03-01 18:26 [Buildroot] [PATCH] php-gnupg: force gnupg detection Gustavo Zacarias
@ 2014-03-01 19:41 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-03-01 19:41 UTC (permalink / raw)
To: buildroot
Dear Gustavo Zacarias,
On Sat, 1 Mar 2014 15:26:21 -0300, Gustavo Zacarias wrote:
> Hardcode the gpg path and detection otherwise it will fail on a host
> that doesn't have gnupg installed. Fixes:
> http://autobuild.buildroot.net/results/757/757fb0b12af12de4f128d9c503d45b20776c2313/
> Also define PHP_AUTOCONF and PHP_AUTOHEADER as other extensions do to
> avoid stray issues.
>
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
> package/php-gnupg/php-gnupg.mk | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-01 19:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-01 18:26 [Buildroot] [PATCH] php-gnupg: force gnupg detection Gustavo Zacarias
2014-03-01 19:41 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox