From 520487b3cf26235a6730f6bb72246ddc803cb081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20K=C3=BChling?= Date: Mon, 21 Feb 2011 22:16:12 +0100 Subject: [PATCH] gnuplot: explicitely disable all unneeded features to fix build problems autoconf detects stuff with config.full_system then build fails. wxterminal needs some manual checking before we can enable it again. --- gnuplot-gfx/Makefile | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/gnuplot-gfx/Makefile b/gnuplot-gfx/Makefile index 652a555..e841d7e 100644 --- a/gnuplot-gfx/Makefile +++ b/gnuplot-gfx/Makefile @@ -29,7 +29,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gnuplot-gfx PKG_ORIG_NAME=gnuplot PKG_VERSION:=4.4.2 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_ORIG_NAME)-$(PKG_VERSION) HOST_BUILD_DIR = $(BUILD_DIR_HOST)/$(PKG_ORIG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_ORIG_NAME)-$(PKG_VERSION).tar.gz @@ -59,7 +59,7 @@ endef define Package/gnuplot-gfx $(call Package/gnuplot-gfx/Default) - DEPENDS:=+libncurses +uclibcxx +zlib +libpng +libfreetype +libgd $(INTL_DEPENDS) $(ICONV_DEPENDS) +svgalib + DEPENDS:=+libncurses +zlib +libpng +libfreetype +libgd $(INTL_DEPENDS) $(ICONV_DEPENDS) +svgalib TITLE+= endef @@ -82,11 +82,20 @@ endef # We need the doc2gih tool compiled on the *host* to get GNUplot's online # documentation when compiling for the target. -HOST_CONFIGURE_VARS += \ +HOST_CONFIGURE_ARGS += \ --without-x \ --without-tutorial \ --without-lisp-files \ - --without-ggi + --without-ggi \ + --without-cairo \ + --disable-wxwidgets \ + --disable-rgip \ + --disable-mgr \ + --without-latex \ + --without-lisp-files \ + --without-row-help \ + --without-tutorial +HOST_CONFIGURE_VARS += DIST_CONTACT="David Kuehling " define Host/Configure $(call Host/Configure/Default) @@ -109,6 +118,15 @@ endef CONFIGURE_ARGS += \ --without-x \ --without-tutorial \ + --without-lisp-files \ + --without-ggi \ + --without-cairo \ + --disable-wxwidgets \ + --disable-rgip \ + --disable-mgr \ + --without-latex \ + --without-lisp-files \ + --without-tutorial \ --without-row-help \ --without-lisp-files \ --without-ggi \ @@ -121,11 +139,8 @@ CONFIGURE_ARGS += \ #--disable-mouse +CONFIGURE_VARS += DIST_CONTACT="David Kuehling " -CONFIGURE_VARS += \ - CPPFLAGS="$$$$CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++" \ - CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" \ - LIBS="-nodefaultlibs -luClibc++ -lpthread -lgcc" TARGET_CPPFLAGS += -DDEFAULTTERM=\\\"linux\\\"