From: Michael Büsch Date: Thu, 4 Nov 2010 11:08:07 +0000 (+0000) Subject: postgresql: deptest fixes. staging dir is not preserved. Put host-zic into the build... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=5b8badceebed35daaca4a09882920fe2a0fb7439;ds=sidebyside postgresql: deptest fixes. staging dir is not preserved. Put host-zic into the build dir for use at InstallDev stage. SVN-Revision: 23852 --- diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile index 7ef6aa78a0..a534612795 100644 --- a/libs/postgresql/Makefile +++ b/libs/postgresql/Makefile @@ -103,7 +103,9 @@ define Build/Configure mv $(PKG_BUILD_DIR)/src/interfaces/ecpg/preproc/ecpg \ $(PKG_BUILD_DIR)/src/interfaces/ecpg/preproc/ecpg.host $(MAKE) -C $(PKG_BUILD_DIR)/src/timezone CC="$(HOSTCC)" - mv $(PKG_BUILD_DIR)/src/timezone/zic $(STAGING_DIR)/host/bin/zic + mv $(PKG_BUILD_DIR)/src/timezone/zic $(PKG_BUILD_DIR)/host-zic + $(INSTALL_DIR) $(STAGING_DIR)/host/bin/ + $(CP) $(PKG_BUILD_DIR)/host-zic $(STAGING_DIR)/host/bin/zic $(MAKE) -C $(PKG_BUILD_DIR)/src/bin/pg_config CC="$(HOSTCC)" mv $(PKG_BUILD_DIR)/src/bin/pg_config/pg_config \ $(PKG_BUILD_DIR)/src/bin/pg_config/pg_config.host @@ -236,7 +238,7 @@ define Build/InstallDev $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpq.{a,so*} $(1)/usr/lib/ $(CP) $(PKG_BUILD_DIR)/src/interfaces/ecpg/preproc/ecpg.host $(1)/usr/bin/ecpg - $(CP) $(STAGING_DIR)/host/bin/zic $(1)/usr/bin/zic + $(CP) $(PKG_BUILD_DIR)/host-zic $(1)/usr/bin/zic endef $(eval $(call BuildPackage,libpq))