changeset 1942:c658f1520f62

package postgresql: fix native pg_config
author Tony Theodore <tonyt@logyst.com>
date Thu, 04 Aug 2011 22:58:35 +1000
parents b1b0f15e2f1c
children 4e9578875569
files src/postgresql.mk
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/postgresql.mk	Thu Aug 04 22:40:43 2011 +1000
+++ b/src/postgresql.mk	Thu Aug 04 22:58:35 2011 +1000
@@ -79,6 +79,6 @@
         --without-zlib \
         --with-system-tzdata=/dev/null
     $(MAKE) -C '$(1).native'/src/port          -j '$(JOBS)'
-    $(MAKE) -C '$(1).native'/src/bin/pg_config -j '$(JOBS)'
-    $(INSTALL) -m755 '$(1).native'/src/bin/pg_config/pg_config '$(PREFIX)/bin/$(TARGET)-pg_config'
+    $(MAKE) -C '$(1).native'/src/bin/pg_config -j '$(JOBS)' install
+    ln -s '$(PREFIX)/$(TARGET)/bin/pg_config' '$(PREFIX)/bin/$(TARGET)-pg_config'
 endef