Re: [OpenWrt-Devel] [PATCH] fix gnuplot compile error

2010-11-01 Thread Michael Büsch
On Mon, 2010-11-01 at 11:13 +0800, Xiangfu Liu wrote: 
 this patch add intl, iconv patch to TARGET FLAGS,
 add intl and iconv to DEPENDS.
 
 attach is the patch.

Thanks, applied.

-- 
Greetings Michael.

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] fix gnuplot compile error

2010-10-31 Thread Xiangfu Liu
Hi

this patch add intl, iconv patch to TARGET FLAGS,
add intl and iconv to DEPENDS.

attach is the patch.

this patch is base on :
URL: svn://svn.openwrt.org/openwrt/packages
Repository Root: svn://svn.openwrt.org/openwrt
Repository UUID: 3c298f89-4303-0410-b956-a3cf2f4a3e73
Revision: 23742

-- 
Best Regards
Xiangfu Liu
http://www.openmobilefree.net
Index: Makefile
===
--- Makefile	(revision 23742)
+++ Makefile	(working copy)
@@ -12,9 +12,15 @@
 
 include $(INCLUDE_DIR)/package.mk
 
-EXTRA_LDFLAGS += \
-	-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
+TARGET_CFLAGS += \
+	-I$(STAGING_DIR)/usr/lib/libintl/include \
+	-I$(STAGING_DIR)/usr/lib/libiconv/include
 
+TARGET_LDFLAGS+= \
+	-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
+	-L$(STAGING_DIR)/usr/lib/libintl/lib \
+   	-L$(STAGING_DIR)/usr/lib/libiconv/lib
+
 CONFIGURE_VARS += \
 	CPPFLAGS=CPPFLAGS -I$(STAGING_DIR)/usr/include/uClibc++ \
 	CXXFLAGS=CXXFLAGS -fno-builtin -fno-rtti -nostdinc++ \
@@ -23,7 +29,7 @@
 define Package/gnuplot
   SECTION:=utils
   CATEGORY:=Utilities
-  DEPENDS:=+libncurses +uclibcxx +zlib +libpng +libfreetype +libgd
+  DEPENDS:=+libncurses +uclibcxx +zlib +libpng +libfreetype +libgd +libintl +libiconv
   TITLE:=A portable command-line driven graphing utility
   URL:=http://sourceforge.net/projects/gnuplot/
 endef
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel