Changeset 82527 for trunk/dports/print


Ignore:
Timestamp:
Aug 15, 2011, 9:25:14 AM (8 years ago)
Author:
ryandesign@…
Message:

fondu: simplify universal arch handling; correct non-universal arch handling

File:
1 edited

Legend:

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

    r56003 r82527  
    55name                    fondu
    66version                 060102
     7revision                1
    78platforms               darwin
    89categories              print
     
    2627
    2728post-patch {
    28     set CPPFLAGS "${configure.cppflags}"
    29     set CFLAGS "${configure.cflags}"
    30     set LDFLAGS "${configure.ldflags}"
    31    
    32     if {[variant_isset universal]} {
    33         set CPPFLAGS "${CPPFLAGS} ${configure.universal_cppflags}"
    34         set CFLAGS "${CFLAGS} ${configure.universal_cflags}"
    35         set LDFLAGS "${LDFLAGS} ${configure.universal_ldflags}"
    36     }
    37    
    38     reinplace "s|^CFLAGS = -g \$(WFLAGS)|CFLAGS = -g \$(WFLAGS) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}|g" ${worksrcpath}/Makefile.in
     29    reinplace "s|^CFLAGS = -g \$(WFLAGS)|CFLAGS = -g \$(WFLAGS) ${configure.cppflags} ${configure.cflags} ${configure.ldflags} [get_canonical_archflags]|g" ${worksrcpath}/Makefile.in
    3930}
    4031
Note: See TracChangeset for help on using the changeset viewer.