Skip to contentSkip to conversation

gnuplot: gd support needs libpng

PATCH New Gustavo Zacarias 2 participants 2 messages Apr 3, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gnuplot: gd support needs libpng

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/

---
 package/gnuplot/gnuplot.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/gnuplot/gnuplot.mk +1 -1
index a68c7ae..25ba90d 100644
@@ -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 += \
Signature · 1 line
1.8.1.5