Skip to contentSkip to conversation

gnuplot: inherit pkgconfig

PATCH In review [email protected] 1 participant 2 messages Apr 19, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gnuplot: inherit pkgconfig

From: Preeti Sachan <[email protected]>

Inherited pkgconfig to fix pngcairo terminal compilation enabled by default with pkgconfig option PACKAGECONFIG[cairo]

---
 meta-oe/recipes-extended/gnuplot/gnuplot_5.4.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/gnuplot/gnuplot_5.4.3.bb +1 -1
index 7343a08c7..fe5e5c067 100644
@@ -7,7 +7,7 @@ LICENSE = "gnuplot"
 LIC_FILES_CHKSUM = "file://Copyright;md5=243a186fc2fd3b992125d60d5b1bab8f"
 DEPENDS = "${BPN}-native virtual/libx11 gd readline"
 
-inherit autotools features_check
+inherit autotools features_check pkgconfig
 # depends on virtual/libx11
 REQUIRED_DISTRO_FEATURES = "x11"
 
Signature · 1 line
2.25.1
#1 lore raw

This patch is to fix do_configure issue for cairo.

*configure log:*
checking for CAIROPDF... configure: WARNING:
*The pkg-config script could not be found or is too old.  Make sure it* *is in your PATH or set the PKG_CONFIG environment variable to the full* *path to pkg-config.*

Alternatively, you may set the environment variables CAIROPDF_CFLAGS and CAIROPDF_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.

To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
*configure: WARNING: The cairo terminals will not be compiled.*