mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] gnupg: fix build breakage if ICONV is not enabled
@ 2015-03-17 21:02 Andreas Pretzsch
  2015-03-26  8:47 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Pretzsch @ 2015-03-17 21:02 UTC (permalink / raw)
  To: ptxdist

If PTXCONF_ICONV is not enabled, --without-libiconv-prefix is
passed as configure option.
Currently, this is done by adding the option to GNUPG_AUTOCONF,
which causes ptxdist to abort with
    ptxdist: error: ptxd_make_world_init_compat: <PKG>_AUTOCONF
    is incompatible with <PKG>_CONF_OPT

Fix this by adding it to GNUPG_CONF_OPT instead.

Signed-off-by: Andreas Pretzsch <apr@cn-eng.de>
---
Attn.: Tested only with ptxdist-2014.05, but as the same logic
applies in latest ptxdist, this should still work.

 rules/gnupg.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/gnupg.make b/rules/gnupg.make
index 71e765e..67d6719 100644
--- a/rules/gnupg.make
+++ b/rules/gnupg.make
@@ -54,7 +54,7 @@ GNUPG_CONF_OPT := $(CROSS_AUTOCONF_USR) \
 	--disable-bzip2
 
 ifndef PTXCONF_ICONV
-GNUPG_AUTOCONF += --without-libiconv-prefix
+GNUPG_CONF_OPT += --without-libiconv-prefix
 endif
 
 # ----------------------------------------------------------------------------
-- 
2.1.3


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-26  8:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-17 21:02 [ptxdist] [PATCH] gnupg: fix build breakage if ICONV is not enabled Andreas Pretzsch
2015-03-26  8:47 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox