From 190f62ee621e9117dfc2c78dc64d5a9f776ba22d Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Sun, 15 Aug 2021 03:25:02 +0300 Subject: [PATCH] gnuplot: fix host lib leakage The package does not build due to host lib leakage, as evidenced by config.log: X_CFLAGS=' -I/usr/include' X_LIBS=' -L/usr/lib' Fix this by disabling X with a configure var. Signed-off-by: Stijn Tintel --- utils/gnuplot/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/gnuplot/Makefile b/utils/gnuplot/Makefile index 3b57cc2572..03c812a1fb 100644 --- a/utils/gnuplot/Makefile +++ b/utils/gnuplot/Makefile @@ -29,6 +29,8 @@ CONFIGURE_ARGS += \ --without-latex \ --without-libcerf +CONFIGURE_VARS += ac_cv_have_x="have_x=no" + # Since Qt is disabled there is no C++ code, so CXX is forced # to CC in order to avoid dependency on libstdcpp. This is # horrible, but 'DEPENDS:=+libstdcpp' does not work for some