Ignore:
Timestamp:
Feb 22, 2014, 9:13:03 AM (6 years ago)
Author:
jwa@…
Message:

postgresql: regroup contrib build, to make it more reliable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/postgresql90/Portfile

    r117256 r117331  
    9292
    9393# prepare the contrib modules
    94 set contribdirs [glob -nocomplain -type d ${worksrcpath}/contrib/*]
    95 set contribs ""
    96 foreach d [lsort $contribdirs] {
    97     if { [file exists $d/Makefile] } {
    98         lappend contribs [file tail $d]
    99     }
    100 }
     94set contribs {}
    10195
    10296post-build {
     97    set contribdirs [glob -nocomplain -type d ${worksrcpath}/contrib/*]
     98    foreach d [lsort $contribdirs] {
     99        if { [file exists $d/Makefile] } {
     100            lappend contribs [file tail $d]
     101        }
     102    }
    103103        foreach contrib ${contribs} {
    104104                system "cd ${worksrcpath}/contrib/${contrib}/ && ${build.cmd}"
Note: See TracChangeset for help on using the changeset viewer.