Changeset 54913 for trunk/dports/print


Ignore:
Timestamp:
Aug 4, 2009, 3:37:04 PM (10 years ago)
Author:
snc@…
Message:

fix universal variant, ticket #17599

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/print/fondu/Portfile

    r30248 r54913  
    2323worksrcdir     fondu-${version}
    2424
     25post-patch {
     26        set CPPFLAGS "${configure.cppflags}"
     27        set CFLAGS "${configure.cflags}"
     28        set LDFLAGS "${configure.ldflags}"
     29
     30        if {[variant_isset universal]} {
     31                set CPPFLAGS "${CPPFLAGS} ${configure.universal_cppflags}"
     32                set CFLAGS "${CFLAGS} ${configure.universal_cflags}"
     33                set LDFLAGS "${LDFLAGS} ${configure.universal_ldflags}"
     34        }
     35
     36        reinplace "s|^CFLAGS = -g \$(WFLAGS)|CFLAGS = -g \$(WFLAGS) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}|g" ${worksrcpath}/Makefile.in
     37}
     38
    2539configure.args  --bindir=${prefix}/bin --mandir=${prefix}/share/man
    2640
Note: See TracChangeset for help on using the changeset viewer.