aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-05-12 21:55:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-05-12 21:55:38 +0000
commit39c03360fd9457d98842927f7fdfe71661e48db6 (patch)
tree7089ad37361d7b98b0821f65ee715a81c31b577f /package
parentcb8dcb8dbdc7afc05002170523efd39bc80cfcff (diff)
downloadupstream-39c03360fd9457d98842927f7fdfe71661e48db6.tar.gz
upstream-39c03360fd9457d98842927f7fdfe71661e48db6.tar.bz2
upstream-39c03360fd9457d98842927f7fdfe71661e48db6.zip
fix postgresql again (it wasn't installing enough stuff into the staging dir)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@861 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/postgresql/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/package/postgresql/Makefile b/package/postgresql/Makefile
index 5c0226646f..a444fdf51c 100644
--- a/package/postgresql/Makefile
+++ b/package/postgresql/Makefile
@@ -83,10 +83,18 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
touch $(PKG_BUILD_DIR)/.built
$(STAGING_DIR)/usr/lib/libpq.so: $(PKG_BUILD_DIR)/.built
- $(MAKE) -C "$(PKG_BUILD_DIR)" \
+ $(MAKE) -C "$(PKG_BUILD_DIR)/src" \
DESTDIR="$(STAGING_DIR)" \
install-all-headers
- cp -a $(PKG_BUILD_DIR)/src/interfaces/libpq/libpq.so* $(STAGING_DIR)/usr/lib
+ $(MAKE) -C "$(PKG_BUILD_DIR)/src/include" \
+ DESTDIR="$(STAGING_DIR)" \
+ install
+ $(MAKE) -C "$(PKG_BUILD_DIR)/src/interfaces/libpq" \
+ DESTDIR="$(STAGING_DIR)" \
+ install
+ mkdir -p $(STAGING_DIR)/usr/lib
+ cp -a $(PKG_BUILD_DIR)/src/interfaces/libpq/libpq.so* $(STAGING_DIR)/usr/lib/
+ cp $(PKG_BUILD_DIR)/src/interfaces/libpq/libpq.a $(STAGING_DIR)/usr/lib/
$(IPKG_LIBPQ): $(STAGING_DIR)/usr/lib/libpq.so
$(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_LIBPQ) ./ipkg/libpq.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)