Changeset 102470


Ignore:
Timestamp:
Feb 4, 2013, 4:10:05 AM (6 years ago)
Author:
jeremyhu@…
Message:

e2fsprogs: Small cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/e2fsprogs/Portfile

    r102466 r102470  
    2929configure.args-append       --enable-bsd-shlibs
    3030
     31# This project is not C99 conformant
     32configure.cflags-append     -std=gnu89
    3133
    3234if {${name} == ${subport}} {
     
    4042                                patch-Makefile.in-remove-included-libcomerr.diff
    4143
    42     if {${configure.compiler} == "clang"} {
    43         # This project is not C99 conformant and has return type conflicts that
    44         # clang complains about
    45         configure.cflags-append  "--std=gnu89 -Wno-return-type"
     44    if {[string match *clang* ${configure.compiler}]} {
     45        # return type conflicts should really be fixed
     46        configure.cflags-append  "-Wno-return-type"
    4647    }
    4748
Note: See TracChangeset for help on using the changeset viewer.