New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 80128


Ignore:
Timestamp:
07/04/11 18:40:02 (4 years ago)
Author:
jmr@…
Message:

zlib, libtool: don't check for .dylib on non-darwin

Location:
trunk/dports
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/archivers/zlib/Portfile

    r80122 r80128  
    4040 
    4141post-destroot { 
    42     foreach {neededfile} "${prefix}/lib/libz.dylib" { 
    43         if {![file exists ${destroot}${neededfile}]} { 
    44             ui_error "${neededfile} is not in the destroot. Please clean ${name} and try again." 
    45             return -code error "missing ${neededfile} in destroot" 
     42    platform darwin { 
     43        foreach {neededfile} "${prefix}/lib/libz.dylib" { 
     44            if {![file exists ${destroot}${neededfile}]} { 
     45                ui_error "${neededfile} is not in the destroot. Please clean ${name} and try again." 
     46                return -code error "missing ${neededfile} in destroot" 
     47            } 
    4648        } 
    4749    } 
  • trunk/dports/devel/libtool/Portfile

    r80123 r80128  
    3737 
    3838post-destroot { 
    39     foreach {neededfile} "${prefix}/lib/libltdl.dylib" { 
    40         if {![file exists ${destroot}${neededfile}]} { 
    41             ui_error "${neededfile} is not in the destroot. Please clean ${name} and try again." 
    42             return -code error "missing ${neededfile} in destroot" 
    43         } 
    44     } 
    45      
    4639    set docdir ${prefix}/share/doc/${name} 
    4740    xinstall -d ${destroot}${docdir} 
     
    5649    configure.env-append GREP=/usr/bin/grep \ 
    5750                         SED=/usr/bin/sed 
     51    post-destroot { 
     52        foreach {neededfile} "${prefix}/lib/libltdl.dylib" { 
     53            if {![file exists ${destroot}${neededfile}]} { 
     54                ui_error "${neededfile} is not in the destroot. Please clean ${name} and try again." 
     55                return -code error "missing ${neededfile} in destroot" 
     56            } 
     57        } 
     58    } 
    5859} 
    5960 
Note: See TracChangeset for help on using the changeset viewer.