Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] cups: add host-pkgconf as a dependency
@ 2017-02-14 20:47 Thomas Petazzoni
  2017-02-14 20:53 ` Yann E. MORIN
  2017-02-14 21:14 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-02-14 20:47 UTC (permalink / raw)
  To: buildroot

cups configure script checks for a pkg-config program. If host-pkgconf
has not been built prior to cups, it uses the system pkg-config, which
might potentially lead to bogus results:

checking for i586-buildroot-linux-musl-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config

With this patch applied:

checking for i586-buildroot-linux-musl-pkg-config... no
checking for pkg-config... /home/thomas/projets/buildroot/output/host/usr/bin/pkg-config

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/cups/cups.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/cups/cups.mk b/package/cups/cups.mk
index 0573776..7ef2f36 100644
--- a/package/cups/cups.mk
+++ b/package/cups/cups.mk
@@ -28,6 +28,7 @@ CUPS_CONF_OPTS = \
 CUPS_CONFIG_SCRIPTS = cups-config
 CUPS_DEPENDENCIES = \
 	host-autoconf \
+	host-pkgconf \
 	$(if $(BR2_PACKAGE_ZLIB),zlib)
 
 ifeq ($(BR2_PACKAGE_SYSTEMD),y)
-- 
2.7.4

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

* [Buildroot] [PATCH] cups: add host-pkgconf as a dependency
  2017-02-14 20:47 [Buildroot] [PATCH] cups: add host-pkgconf as a dependency Thomas Petazzoni
@ 2017-02-14 20:53 ` Yann E. MORIN
  2017-02-14 21:14 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2017-02-14 20:53 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2017-02-14 21:47 +0100, Thomas Petazzoni spake thusly:
> cups configure script checks for a pkg-config program. If host-pkgconf
> has not been built prior to cups, it uses the system pkg-config, which
> might potentially lead to bogus results:
> 
> checking for i586-buildroot-linux-musl-pkg-config... no
> checking for pkg-config... /usr/bin/pkg-config
> 
> With this patch applied:
> 
> checking for i586-buildroot-linux-musl-pkg-config... no
> checking for pkg-config... /home/thomas/projets/buildroot/output/host/usr/bin/pkg-config
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/cups/cups.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/cups/cups.mk b/package/cups/cups.mk
> index 0573776..7ef2f36 100644
> --- a/package/cups/cups.mk
> +++ b/package/cups/cups.mk
> @@ -28,6 +28,7 @@ CUPS_CONF_OPTS = \
>  CUPS_CONFIG_SCRIPTS = cups-config
>  CUPS_DEPENDENCIES = \
>  	host-autoconf \
> +	host-pkgconf \
>  	$(if $(BR2_PACKAGE_ZLIB),zlib)
>  
>  ifeq ($(BR2_PACKAGE_SYSTEMD),y)
> -- 
> 2.7.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH] cups: add host-pkgconf as a dependency
  2017-02-14 20:47 [Buildroot] [PATCH] cups: add host-pkgconf as a dependency Thomas Petazzoni
  2017-02-14 20:53 ` Yann E. MORIN
@ 2017-02-14 21:14 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2017-02-14 21:14 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > cups configure script checks for a pkg-config program. If host-pkgconf
 > has not been built prior to cups, it uses the system pkg-config, which
 > might potentially lead to bogus results:

 > checking for i586-buildroot-linux-musl-pkg-config... no
 > checking for pkg-config... /usr/bin/pkg-config

 > With this patch applied:

 > checking for i586-buildroot-linux-musl-pkg-config... no
 > checking for pkg-config... /home/thomas/projets/buildroot/output/host/usr/bin/pkg-config

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2017-02-14 21:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-14 20:47 [Buildroot] [PATCH] cups: add host-pkgconf as a dependency Thomas Petazzoni
2017-02-14 20:53 ` Yann E. MORIN
2017-02-14 21:14 ` Peter Korsgaard

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