Changeset 87102


Ignore:
Timestamp:
Nov 10, 2011, 7:11:15 PM (6 years ago)
Author:
snc@…
Message:

unbound: +universal requires gcc, #31137

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/unbound/Portfile

    r84550 r87102  
    3333                    sha256  83c7dc2756c488ab5bfcb9b25b81236a4ec42fb3d505267fcaf005555f3a2313
    3434
     35if {[variant_isset universal]} {
     36    if {${configure.compiler} == "clang" ||
     37        ${configure.compiler} == "llvm-gcc-4.2"} {
     38        configure.compiler gcc-4.2
     39        if {![file executable ${configure.cc}]} {
     40            depends_build-append port:apple-gcc42
     41            configure.compiler apple-gcc-4.2
     42            # base (as of 2.0.3) doesn't set cxx for apple-gcc-4.2
     43            configure.cxx ${prefix}/bin/g++-apple-4.2
     44        }
     45    }
     46}
     47
    3548configure.args-append   --with-pidfile=${prefix}/var/run/${name}/${name}.pid
    3649
Note: See TracChangeset for help on using the changeset viewer.