From f5081ab75e41b16f20e12505a8ccae14045d4a2a Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Tue, 1 Nov 2011 09:23:27 +0000
Subject: package/uboot-envtools: remove runtime dependency of zlib

zlib is a build-dependency, but in runtime zlib is not required,
see:
root@OpenWrt:/# ldd /usr/sbin/fw_printenv
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2abb2000)
        libc.so.0 => /lib/libc.so.0 (0x2abd4000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2ab9a000)

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28696 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/uboot-envtools/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'package/uboot-envtools')

diff --git a/package/uboot-envtools/Makefile b/package/uboot-envtools/Makefile
index eaa692142a..600697f146 100644
--- a/package/uboot-envtools/Makefile
+++ b/package/uboot-envtools/Makefile
@@ -10,11 +10,12 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=uboot-envtools
 PKG_DISTNAME:=u-boot
 PKG_VERSION:=2011.06
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=ftp://ftp.denx.de/pub/u-boot
 PKG_MD5SUM:=
+PKG_BUILD_DEPENDS:=zlib
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -24,7 +25,6 @@ define Package/uboot-envtools
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=read/modify U-Boot bootloader environment
-  DEPENDS:= +zlib
   URL:=http://www.denx.de/wiki/U-Boot
 endef
 
-- 
cgit v1.2.3