Ticket #32115: pianobar.diff

File pianobar.diff, 1.2 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago)

proposed patch

  • Portfile

     
    3333patch.pre_args              -p1
    3434patchfiles                  a0e4f1e0f5989505f4aab10d64194b635f9af53c.diff
    3535
     36configure.cflags-append     -std=c99
     37
    3638use_configure               no
    3739
    3840variant universal {}
     
    4143
    4244build.args                  CC="${configure.cc} [get_canonical_archflags]" \
    4345                            PREFIX=${prefix} \
    44                             CFLAGS=-std=c99 \
    45                             LIBAO_INCLUDE=${prefix}/include \
    46                             LIBFAAD_INCLUDE=${prefix}/include \
    47                             LIBMAD_INCLUDE=${prefix}/include
     46                            CFLAGS="${configure.cflags} ${configure.cppflags}" \
     47                            LDFLAGS="${configure.ldflags}"
    4848
    49 # On case-sensitive file systems, "make install" might
    50 # think we mean make INSTALL and do nothing because
    51 # INSTALL is always up to date.
    52 pre-destroot    {
    53     file delete ${worksrcpath}/INSTALL
    54 }
    5549destroot.args               PREFIX=${prefix}
    5650
    5751livecheck.type              regex