Changeset 102115


Ignore:
Timestamp:
Jan 28, 2013, 7:24:51 AM (7 years ago)
Author:
jeremyhu@…
Message:

libinfinity: Allow build with clang

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/comms/libinfinity/Portfile

    r101389 r102115  
    2626                port:libgsasl
    2727
    28 if {${configure.compiler} == "clang"} {
    29     # libinfinity doesn't build with clang because some functions use g_return_if_fail() where they should use g_return_val_if_fail()
    30     configure.compiler llvm-gcc-4.2
     28# libinfinity doesn't build with clang because some functions use g_return_if_fail() where they should use g_return_val_if_fail()
     29if {[string match *clang* ${configure.compiler}]} {
     30    configure.cflags-append -Wno-return-type
    3131}
    3232
Note: See TracChangeset for help on using the changeset viewer.