changeset 782:53f3b214b02a

install "usr/bin/i686-pc-mingw32-pg_config" instead of "usr/i686-pc-mingw32/bin/pg_config"
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 18 Feb 2010 03:03:04 +0100
parents 56592996677c
children d508e0383f71
files src/gdal.mk src/postgresql.mk
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gdal.mk	Tue Feb 16 21:54:11 2010 +0100
+++ b/src/gdal.mk	Thu Feb 18 03:03:04 2010 +0100
@@ -44,7 +44,7 @@
         --with-sqlite3='$(PREFIX)/$(TARGET)' \
         --with-curl='$(PREFIX)/$(TARGET)/bin/curl-config' \
         --with-geos='$(PREFIX)/$(TARGET)/bin/geos-config' \
-        --with-pg='$(PREFIX)/$(TARGET)/bin/pg_config' \
+        --with-pg='$(TARGET)-pg_config' \
         --with-odbc='$(PREFIX)/$(TARGET)' \
         --without-static-proj4 \
         --without-xerces \
--- a/src/postgresql.mk	Tue Feb 16 21:54:11 2010 +0100
+++ b/src/postgresql.mk	Thu Feb 18 03:03:04 2010 +0100
@@ -80,5 +80,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
+    $(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'
 endef