[Buildroot] [PATCH] gnuplot: gd support needs libpng

Gustavo Zacarias gustavo at zacarias.com.ar
Wed Apr 3 11:04:23 UTC 2013


GD support in gnuplot needs PNG support in GD.
So make sure we are getting the full package to enable it, fixes:
http://autobuild.buildroot.net/results/678bd3babfcb3535e3a9ed1e111f741c3d3101f3/

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
---
 package/gnuplot/gnuplot.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/gnuplot/gnuplot.mk b/package/gnuplot/gnuplot.mk
index a68c7ae..25ba90d 100644
--- a/package/gnuplot/gnuplot.mk
+++ b/package/gnuplot/gnuplot.mk
@@ -24,7 +24,7 @@ GNUPLOT_CONF_OPT = --without-x \
 		--without-latex \
 	        --without-cairo
 
-ifeq ($(BR2_PACKAGE_GD),y)
+ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy)
 GNUPLOT_CONF_OPT += --with-gd
 GNUPLOT_DEPENDENCIES += gd
 GNUPLOT_CONF_ENV += \
-- 
1.8.1.5



More information about the buildroot mailing list