Changeset 96056 for trunk/dports/gis


Ignore:
Timestamp:
Jul 30, 2012, 1:47:44 PM (7 years ago)
Author:
and.damore@…
Message:

port mapserver: fix +postgis variant when no postgresql is already installed, postgresql90 will be installed in that case - cf. http://build.macports.org/builders/buildports-lion-x86_64/builds/3079

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gis/mapserver/Portfile

    r96046 r96056  
    5151
    5252variant postgis description {Add support for postgis sources} {
    53        set PGSQL_DIR [lindex [lsort -dec [glob -d ${prefix}/lib postgresql*]] 0]
     53       set PGSQL_DIR [lindex [lsort -dec [glob -nocomplain -d ${prefix}/lib postgresql*]] 0]
    5454       configure.args-append "--with-postgis=${PGSQL_DIR}/bin/pg_config"
    5555}
Note: See TracChangeset for help on using the changeset viewer.