Ignore:
Timestamp:
Apr 27, 2009, 4:49:44 PM (11 years ago)
Author:
mcalhoun@…
Message:

zlib: Ensure configure.ldflags are used.
Fixes #18841.

File:
1 edited

Legend:

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

    r49160 r50198  
    4141}
    4242
     43# Ensure ldflags are used (see http://trac.macports.org/ticket/18841).
     44post-patch {
     45    if { ${configure.ldflags}!="-L${prefix}/lib" } {
     46        configure.ldflags-delete  -L${prefix}/lib
     47        reinplace "s|LDFLAGS=\"\\(.*\\)\"|LDFLAGS=\"\\1 ${configure.ldflags}\"|" ${worksrcpath}/configure
     48    }
     49}
     50
    4351use_parallel_build      yes
    4452
Note: See TracChangeset for help on using the changeset viewer.