[csw-devel] SF.net SVN: gar:[14539] csw/mgar/pkg/gdal/trunk/Makefile

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Sat May 7 03:46:32 CEST 2011


Revision: 14539
          http://gar.svn.sourceforge.net/gar/?rev=14539&view=rev
Author:   bdwalton
Date:     2011-05-07 01:46:32 +0000 (Sat, 07 May 2011)

Log Message:
-----------
gdal/trunk: handle funky postgres setup

Modified Paths:
--------------
    csw/mgar/pkg/gdal/trunk/Makefile

Modified: csw/mgar/pkg/gdal/trunk/Makefile
===================================================================
--- csw/mgar/pkg/gdal/trunk/Makefile	2011-05-07 01:45:13 UTC (rev 14538)
+++ csw/mgar/pkg/gdal/trunk/Makefile	2011-05-07 01:46:32 UTC (rev 14539)
@@ -72,7 +72,7 @@
 CONFIGURE_ARGS += --with-jpeg=$(prefix)
 CONFIGURE_ARGS += --with-expat=$(prefix)
 CONFIGURE_ARGS += --with-mysql=/opt/csw/mysql5/bin/mysql_config
-CONFIGURE_ARGS += --with-pg=/opt/csw/postgresql/bin/sparcv8/pg_config
+
 CONFIGURE_ARGS += --with-sqlite3=$(prefix)
 
 # doesn't have tests?
@@ -81,3 +81,9 @@
 LICENSE = LICENSE.TXT
 
 include gar/category.mk
+
+ifeq ($(GARCH),sparc)
+CONFIGURE_ARGS += --with-pg=/opt/csw/postgresql/bin/sparcv8/pg_config
+else
+CONFIGURE_ARGS += --with-pg=/opt/csw/postgresql/bin/pg_config
+endif


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list