From: Stijn Tintel Date: Sun, 15 Aug 2021 00:25:02 +0000 (+0300) Subject: gnuplot: fix host lib leakage X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=190f62ee621e9117dfc2c78dc64d5a9f776ba22d;p=openwrt-packages.git 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 --- diff --git a/utils/gnuplot/Makefile b/utils/gnuplot/Makefile index 3b57cc257..03c812a1f 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