[96471] trunk/dports/sysutils/ipmitool/Portfile
dports at macports.org
dports at macports.org
Fri Aug 10 16:15:37 PDT 2012
Revision: 96471
https://trac.macports.org/changeset/96471
Author: dports at macports.org
Date: 2012-08-10 16:15:36 -0700 (Fri, 10 Aug 2012)
Log Message:
-----------
ipmitool: remove CFLAGS that gcc 4.2 doesn't support to fix build on
Snow Leopard
Modified Paths:
--------------
trunk/dports/sysutils/ipmitool/Portfile
Modified: trunk/dports/sysutils/ipmitool/Portfile
===================================================================
--- trunk/dports/sysutils/ipmitool/Portfile 2012-08-10 23:06:50 UTC (rev 96470)
+++ trunk/dports/sysutils/ipmitool/Portfile 2012-08-10 23:15:36 UTC (rev 96471)
@@ -32,4 +32,10 @@
checksums rmd160 4dea7c7c985083ae8acf2680d5446d81b3c2cf7c \
sha256 d4425c00c84633cd7d3cd46af74889e0638e4e245be3e7870a9043d31399a0d3
+post-patch {
+ # remove CFLAGS that gcc 4.2 doesn't support
+ reinplace "s|-Wno-unused-result||g" ${worksrcpath}/configure
+ reinplace "s|-Wno-packed-bitfield-compat||g" ${worksrcpath}/configure
+}
+
configure.args --mandir=${prefix}/share/man
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120810/34f733a5/attachment.html>
More information about the macports-changes
mailing list