From 604cf5a15fe1fb054cb710ddc5b2e822aaf0b710 Mon Sep 17 00:00:00 2001
From: nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Thu, 19 May 2005 05:49:38 +0000
Subject: [PATCH] Fix lcd4linux package, remove PNG driver

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@948 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/lcd4linux/Config.in | 4 ++--
 package/lcd4linux/Makefile  | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/package/lcd4linux/Config.in b/package/lcd4linux/Config.in
index e04e2f95b..c08212c32 100644
--- a/package/lcd4linux/Config.in
+++ b/package/lcd4linux/Config.in
@@ -1,10 +1,10 @@
 config BR2_PACKAGE_LCD4LINUX
 	tristate "lcd4linux - Program to access an external LCD"
 	default m if CONFIG_DEVEL
-	select BR2_PACKAGE_NCURSES
+	select BR2_PACKAGE_LIBNCURSES
 	help
 	  LCD4Linux
 	  
-	https://ssl.bulix.org/projects/lcd4linux/wiki/Howto
+	  https://ssl.bulix.org/projects/lcd4linux/wiki/Howto
 	  
 
diff --git a/package/lcd4linux/Makefile b/package/lcd4linux/Makefile
index 5586e65f0..04bde6915 100644
--- a/package/lcd4linux/Makefile
+++ b/package/lcd4linux/Makefile
@@ -24,7 +24,6 @@ $(PKG_BUILD_DIR)/.configured:
 		CFLAGS="$(TARGET_CFLAGS)" \
 		CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
 		LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
-		LIBS="-lpng12 -lz" \
 		./configure \
 		  --target=$(GNU_TARGET_NAME) \
 		  --host=$(GNU_TARGET_NAME) \
@@ -46,7 +45,7 @@ $(PKG_BUILD_DIR)/.configured:
 		  $(DISABLE_LARGEFILE) \
 		  $(DISABLE_NLS) \
 		  --without-x \
-		  --with-drivers='all,!RouterBoard,!X11' \
+		  --with-drivers='all,!PNG,!RouterBoard,!X11' \
 		  --with-plugins=wireless \
 	)
 	touch $@
-- 
2.20.1