Ticket #17599: fondu.diff

File fondu.diff, 743 bytes (added by meissnem@…, 16 years ago)
  • Portfile

    old new  
    2222extract.suffix   .tgz
    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
    2741post-destroot {