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

postgresql: regroup contrib build, to make it more reliable

Location:
trunk/dports/databases
Files:
5 edited

Legend:

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

    r117257 r117331  
    8989
    9090# prepare the contrib modules
    91 set contribdirs [glob -nocomplain -type d ${worksrcpath}/contrib/*]
    92 set contribs ""
    93 foreach d [lsort $contribdirs] {
    94     if { [file exists $d/Makefile] } {
    95         lappend contribs [file tail $d]
    96     }
    97 }
     91set contribs {}
    9892
    9993post-build {
     94    set contribdirs [glob -nocomplain -type d ${worksrcpath}/contrib/*]
     95    foreach d [lsort $contribdirs] {
     96        if { [file exists $d/Makefile] } {
     97            lappend contribs [file tail $d]
     98        }
     99    }
    100100        foreach contrib ${contribs} {
    101101                system "cd ${worksrcpath}/contrib/${contrib}/ && ${build.cmd}"
  • 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}"
  • trunk/dports/databases/postgresql91/Portfile

    r117255 r117331  
    9292
    9393# prepare the contrib modules
    94 # remove a Linux-specific contrib before continuing
    95 file delete -force ${worksrcpath}/contrib/sepgsql
    96 set contribdirs [glob -nocomplain -type d ${worksrcpath}/contrib/*]
    97 set contribs ""
    98 foreach d [lsort $contribdirs] {
    99     if { [file exists $d/Makefile] } {
    100         lappend contribs [file tail $d]
    101     }
    102 }
     94set contribs {}
    10395
    10496post-build {
     97    # remove a Linux-specific contrib before continuing
     98    file delete -force ${worksrcpath}/contrib/sepgsql
     99    set contribdirs [glob -nocomplain -type d ${worksrcpath}/contrib/*]
     100    foreach d [lsort $contribdirs] {
     101        if { [file exists $d/Makefile] } {
     102            lappend contribs [file tail $d]
     103        }
     104    }
    105105        foreach contrib ${contribs} {
    106106                system "cd ${worksrcpath}/contrib/${contrib}/ && ${build.cmd}"
  • trunk/dports/databases/postgresql92/Portfile

    r117254 r117331  
    9797
    9898# prepare the contrib modules
    99 # remove a Linux-specific contrib before continuing
    100 file delete -force ${worksrcpath}/contrib/sepgsql
    101 set contribdirs [glob -nocomplain -type d ${worksrcpath}/contrib/*]
    102 set contribs ""
    103 foreach d [lsort $contribdirs] {
    104     if { [file exists $d/Makefile] } {
    105         lappend contribs [file tail $d]
    106     }
    107 }
     99set contribs {}
    108100                           
    109101post-build {
     102    # remove a Linux-specific contrib before continuing
     103    file delete -force ${worksrcpath}/contrib/sepgsql
     104    set contribdirs [glob -nocomplain -type d ${worksrcpath}/contrib/*]
     105    foreach d [lsort $contribdirs] {
     106        if { [file exists $d/Makefile] } {
     107            lappend contribs [file tail $d]
     108        }
     109    }
    110110        foreach contrib ${contribs} {
    111111                system "cd ${worksrcpath}/contrib/${contrib}/ && ${build.cmd}"
  • trunk/dports/databases/postgresql93/Portfile

    r117252 r117331  
    9696
    9797# prepare the contrib modules
    98 # remove a Linux-specific contrib before continuing
    99 file delete -force ${worksrcpath}/contrib/sepgsql
    100 set contribdirs [glob -nocomplain -type d ${worksrcpath}/contrib/*]
    101 set contribs ""
    102 foreach d [lsort $contribdirs] {
    103     if { [file exists $d/Makefile] } {
    104         lappend contribs [file tail $d]
    105     }
    106 }
     98set contribs {}
    10799
    108100post-build {
     101# remove a Linux-specific contrib before continuing
     102    file delete -force ${worksrcpath}/contrib/sepgsql
     103    set contribdirs [glob -nocomplain -type d ${worksrcpath}/contrib/*]
     104    foreach d [lsort $contribdirs] {
     105        if { [file exists $d/Makefile] } {
     106            lappend contribs [file tail $d]
     107        }
     108    }
    109109        foreach contrib ${contribs} {
    110110                system "cd ${worksrcpath}/contrib/${contrib}/ && ${build.cmd}"
Note: See TracChangeset for help on using the changeset viewer.