Skip to contentSkip to conversation

cups: add host-pkgconf as a dependency

PATCH New Thomas Petazzoni 3 participants 3 messages Feb 14, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cups: add host-pkgconf as a dependency

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

---
 package/cups/cups.mk | 1 +
 1 file changed, 1 insertion(+)
package/cups/cups.mk +1 -0
index 0573776..7ef2f36 100644
@@ -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)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 cups: add host-pkgconf as a dependency

Thomas, All,

On 2017-02-14 21:47 +0100, Thomas Petazzoni spake thusly:

Quoted 7 lines

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

Quoted 6 lines

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

Regards,
Yann E. MORIN.

Quoted 23 lines
---
 package/cups/cups.mk | 1 +
 1 file changed, 1 insertion(+)
package/cups/cups.mk +1 -0
index 0573776..7ef2f36 100644
@@ -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)
Signature · 6 lines
2.7.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 cups: add host-pkgconf as a dependency

In reply to Thomas Petazzoni
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> 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

Quoted 6 lines

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

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard