Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/dillo: enable jpeg support only with libjpeg provider
@ 2016-01-01 18:08 Romain Naour
  2016-01-01 18:13 ` Yann E. MORIN
  0 siblings, 1 reply; 4+ messages in thread
From: Romain Naour @ 2016-01-01 18:08 UTC (permalink / raw)
  To: buildroot

dillo add libjpeg to his dependencies when the virtual package
jpeg is selected. This is wrong because jpeg-turbo can be
selected instead of libjpeg. So the build of libjpeg can be
trigged at Makefile level when jpeg-turbo is selected at
Config.in level by the user.

Since 28f67899e54f15c6e48484ea2976c3e431756bcb, the build
stop if a package build is trigged at Makefile level without
being selected at Config.in level.

Use a dependency on the jpeg provider intead of the virtual
package.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 package/dillo/dillo.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/dillo/dillo.mk b/package/dillo/dillo.mk
index 8eb8d88..45fd611 100644
--- a/package/dillo/dillo.mk
+++ b/package/dillo/dillo.mk
@@ -30,7 +30,7 @@ else
 DILLO_CONF_OPTS += --disable-png
 endif
 
-ifeq ($(BR2_PACKAGE_JPEG),y)
+ifeq ($(BR2_PACKAGE_LIBJPEG),y)
 DILLO_CONF_OPTS += --enable-jpeg
 DILLO_DEPENDENCIES += libjpeg
 else
-- 
2.4.3

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

end of thread, other threads:[~2016-01-01 18:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-01 18:08 [Buildroot] [PATCH] package/dillo: enable jpeg support only with libjpeg provider Romain Naour
2016-01-01 18:13 ` Yann E. MORIN
2016-01-01 18:17   ` Romain Naour
2016-01-01 18:48     ` Peter Korsgaard

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