Changeset 87359 for trunk/dports/gis


Ignore:
Timestamp:
Nov 18, 2011, 6:51:30 AM (8 years ago)
Author:
jmr@…
Message:

qgis: fix parse failure by deferring check for postgresql

File:
1 edited

Legend:

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

    r87346 r87359  
    107107       
    108108        depends_lib-append              port:postgis
    109        
    110         # Always choose latest installed postgresql version
    111109
    112         set     PGSQL_DIR                       \
    113                         [lindex [lsort -dec [glob -d ${prefix}/lib postgresql*]] 0]
    114         configure.args-append   "-DPOSTGRES_CONFIG=${PGSQL_DIR}/bin/pg_config"
     110    pre-configure{
     111        # Always choose latest installed postgresql version
     112        set     PGSQL_DIR                       \
     113                [lindex [lsort -dec [glob -d ${prefix}/lib postgresql*]] 0]
     114        configure.args-append   "-DPOSTGRES_CONFIG=${PGSQL_DIR}/bin/pg_config"
     115        }
    115116}
    116117
Note: See TracChangeset for help on using the changeset viewer.