[70374] trunk/dports/devel/akonadi/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Aug 7 12:59:54 PDT 2010
Revision: 70374
http://trac.macports.org/changeset/70374
Author: ryandesign at macports.org
Date: 2010-08-07 12:59:52 -0700 (Sat, 07 Aug 2010)
Log Message:
-----------
akonadi: avoid interference by header file installed by cdparanoia (#25989) and possibly other undiscovered related issues
Modified Paths:
--------------
trunk/dports/devel/akonadi/Portfile
Modified: trunk/dports/devel/akonadi/Portfile
===================================================================
--- trunk/dports/devel/akonadi/Portfile 2010-08-07 19:49:31 UTC (rev 70373)
+++ trunk/dports/devel/akonadi/Portfile 2010-08-07 19:59:52 UTC (rev 70374)
@@ -35,6 +35,15 @@
configure.args-append -DMYSQLD_EXECUTABLE="${prefix}/libexec/mysqld" \
../${distname}
+post-configure {
+ # Avoid interference by cdparanoia's ${prefix}/include/utils.h
+ fs-traverse x ${build.dir} {
+ if {[file isfile ${x}] && "flags.make" == [file tail ${x}]} {
+ reinplace "s|-I${prefix}/include|-isystem${prefix}/include|g" ${x}
+ }
+ }
+}
+
platform darwin 9 {
if {[info exists universal_target] && ${universal_target} == "10.4"} {
# Needed if compiling for 10.4 universal on 10.5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100807/f6ab7290/attachment.html>
More information about the macports-changes
mailing list