remove iconv dependancy when not absolutely required
authorMike Baker <mbm@openwrt.org>
Wed, 6 Jun 2007 23:49:06 +0000 (23:49 +0000)
committerMike Baker <mbm@openwrt.org>
Wed, 6 Jun 2007 23:49:06 +0000 (23:49 +0000)
SVN-Revision: 7512

libs/libiconv/Makefile
net/weechat/Makefile
sound/mpc/Makefile
utils/apr-util/Makefile

index d63c400..168d552 100644 (file)
@@ -49,7 +49,6 @@ endef
 define Build/InstallDev
        mkdir -p $(STAGING_DIR)/usr/lib/libiconv/include
        $(CP) $(PKG_INSTALL_DIR)/usr/include/iconv.h $(STAGING_DIR)/usr/lib/libiconv/include/
-       $(CP) $(PKG_INSTALL_DIR)/usr/include/iconv.h $(STAGING_DIR)/usr/include/
        mkdir -p $(STAGING_DIR)/usr/lib/libiconv/lib
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libiconv.{a,so*} $(STAGING_DIR)/usr/lib/libiconv/lib/
 endef
index 3dd6d28..b4fbf97 100644 (file)
@@ -37,7 +37,7 @@ define Build/Configure
                --with-debug=0 \
                --with-libgnutls-prefix=$(STAGING_DIR)/usr \
                --without-doc-xsl-prefix \
-               --without-libiconv-prefix \
+               --with-libiconv-prefix="$(STAGING_DIR)/usr/lib/libiconv" \
                --without-libintl-prefix \
                --disable-aspell \
                --enable-lua \
@@ -47,7 +47,7 @@ define Build/Configure
                --disable-python \
                --disable-ruby \
                , \
-               LIBS="-llua -ldl -lm" \
+               LIBS="-llua -ldl -lm -L$(STAGING_DIR)/usr/lib/libiconv/lib" \
        )
 endef
 
index 3cca30b..bf744d0 100644 (file)
@@ -25,7 +25,6 @@ include $(INCLUDE_DIR)/package.mk
 define Package/mpc
   SECTION:=sound
   CATEGORY:=Sound
-  DEPENDS:=+libiconv
   TITLE:=Music Player Daemon Console Client
   DESCRIPTION:=\
        MPD is a music player supporting flac, mp3 and ogg files.\\\
index fba0725..950d4ec 100644 (file)
@@ -25,7 +25,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/apr-util
   SECTION:=utils
   CATEGORY:=Utilities
-  DEPENDS:=+libiconv +libexpat +apr
+  DEPENDS:=+libexpat +apr
   TITLE:=Apache Portable Runtime Library Util
   URL:=http://apr.apache.org/
 endef
@@ -60,7 +60,7 @@ define Build/InstallDev
 endef
 
 define Build/UninstallDev
-       rm      $(STAGING_DIR)/usr/bin/apu-config \
+       -rm     $(STAGING_DIR)/usr/bin/apu-config \
                $(STAGING_DIR)/usr/include/apr-0/{apr_anylock.h,apr_base64.h,apr_buckets.h,apr_date.h,apr_dbm.h,apr_hooks.h,apr_ldap.h,apr_ldap_url.h,apr_md4.h,apr_md5.h,apr_optional.h,apr_optional_hooks.h,apr_queue.h,apr_reslist.h,apr_rmm.h,apr_sdbm.h,apr_sha1.h,apr_strmatch.h,apr_uri.h,apr_uuid.h,apr_xlate.h,apr_xml.h,apu_compat.h,apu.h,apu_version.h,apu_want.h} \
                $(STAGING_DIR)/usr/lib/*aprutil*
 endef