Ignore:
Timestamp:
Mar 25, 2012, 9:45:57 AM (6 years ago)
Author:
jeremyhu@…
Message:

flac: Build with clang, fixes #31766

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/audio/flac/Portfile

    r86443 r91194  
    66name            flac
    77version         1.2.1
     8revision        1
    89categories      audio
    910platforms       darwin
     
    2223master_sites    sourceforge:project/flac/flac-src/flac-${version}-src/
    2324
    24 checksums       md5 153c8b15a54da428d1f0fadc756c22c7
     25checksums           sha1    bd54354900181b59db3089347cc84ad81e410b38 \
     26                    rmd160  bd3223c848054f0a75d11200b30f903bdd375bfc \
     27                    sha256  9635a44bceb478bbf2ee8a785cf6986fba525afb5fad1fd4bba73cf71f2d3edf
    2528
    2629depends_lib     port:libogg port:libiconv
    2730
    28 patchfiles      patch-ltmain.sh.diff \
    29                 patch-nasm.h.diff \
    30                 patch-build_lib.mk.diff
     31patchfiles      patch-nasm.h.diff \
     32                patch-build_lib.mk.diff \
     33                autoconf-no-xmms.patch
    3134
    32 configure.args  --mandir=${prefix}/share/man \
    33                 --disable-xmms-plugin
    34 
    35 if {${configure.compiler} == "clang"} {
    36     configure.compiler llvm-gcc-4.2
    37 }
     35configure.args  --disable-xmms-plugin
    3836
    3937post-configure {
     
    5452}
    5553
     54use_autoreconf  yes
     55autoreconf.args -fvi
     56
    5657platform darwin i386 {
    5758    configure.args-append   --disable-asm-optimizations
Note: See TracChangeset for help on using the changeset viewer.