[102470] trunk/dports/sysutils/e2fsprogs/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Feb 3 20:10:05 PST 2013
Revision: 102470
https://trac.macports.org/changeset/102470
Author: jeremyhu at macports.org
Date: 2013-02-03 20:10:05 -0800 (Sun, 03 Feb 2013)
Log Message:
-----------
e2fsprogs: Small cleanup
Modified Paths:
--------------
trunk/dports/sysutils/e2fsprogs/Portfile
Modified: trunk/dports/sysutils/e2fsprogs/Portfile
===================================================================
--- trunk/dports/sysutils/e2fsprogs/Portfile 2013-02-04 03:30:25 UTC (rev 102469)
+++ trunk/dports/sysutils/e2fsprogs/Portfile 2013-02-04 04:10:05 UTC (rev 102470)
@@ -28,6 +28,8 @@
configure.args-append --enable-bsd-shlibs
+# This project is not C99 conformant
+configure.cflags-append -std=gnu89
if {${name} == ${subport}} {
configure.args-append --disable-libuuid \
@@ -39,10 +41,9 @@
patchfiles-append patch-lib__Makefile.darwin-lib \
patch-Makefile.in-remove-included-libcomerr.diff
- if {${configure.compiler} == "clang"} {
- # This project is not C99 conformant and has return type conflicts that
- # clang complains about
- configure.cflags-append "--std=gnu89 -Wno-return-type"
+ if {[string match *clang* ${configure.compiler}]} {
+ # return type conflicts should really be fixed
+ configure.cflags-append "-Wno-return-type"
}
pre-build {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130203/01a23a69/attachment.html>
More information about the macports-changes
mailing list