Ignore:
Timestamp:
Mar 29, 2012, 11:13:00 PM (6 years ago)
Author:
jeremyhu@…
Message:

gdb: Fix a memset bug, and build with clang

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/gdb/Portfile

    r89680 r91326  
    77name            gdb
    88version         7.3
     9revision        1
    910categories      devel
    1011maintainers     dweber openmaintainer
     
    3839depends_build   port:gettext
    3940
    40 if {${configure.compiler} == "clang"} {
    41     configure.compiler llvm-gcc-4.2
    42 }
    43 
    4441if {${configure.build_arch} == "ppc" || ${configure.build_arch} == "ppc64"} {
    4542    notes "${name} does not support building on ${configure.build_arch}."
     
    4946    }
    5047}
     48
     49patch.pre_args -p1
     50patchfiles buggy-memset.patch
    5151
    5252configure.args-append \
     
    5858configure.cflags-append     -I${prefix}/include
    5959configure.cxxflags-append   -I${prefix}/include
     60
     61if {${configure.compiler} == "clang"} {
     62    configure.cflags-append -Wno-unused-value
     63}
    6064
    6165post-destroot {
Note: See TracChangeset for help on using the changeset viewer.