[74981] trunk/dports/devel/akonadi/Portfile
michaelld at macports.org
michaelld at macports.org
Mon Jan 10 07:10:12 PST 2011
Revision: 74981
http://trac.macports.org/changeset/74981
Author: michaelld at macports.org
Date: 2011-01-10 07:10:04 -0800 (Mon, 10 Jan 2011)
Log Message:
-----------
akonadi: Change to a completely generic way of replacing "utils.h" -> "src/utils.h". re-fixes ticket #25989.
Modified Paths:
--------------
trunk/dports/devel/akonadi/Portfile
Modified: trunk/dports/devel/akonadi/Portfile
===================================================================
--- trunk/dports/devel/akonadi/Portfile 2011-01-10 14:36:11 UTC (rev 74980)
+++ trunk/dports/devel/akonadi/Portfile 2011-01-10 15:10:04 UTC (rev 74981)
@@ -28,11 +28,10 @@
post-patch {
# fix '#include "utils.h"' -> "src/utils.h" to avoid a conflict
# with the 'utils.h' header installed by the cdparanoia port
- foreach fixfile { server/src/handler/fetchhelper.cpp \
- server/src/storage/entities.xsl \
- server/src/storage/itemretriever.cpp } {
- reinplace "/include/s@\\(utils\\.h\\)@src/\\1 at g" \
- ${workpath}/${distname}/${fixfile}
+ fs-traverse item ${workpath}/${distname} {
+ if {[file isfile ${item}]} {
+ reinplace "/include/s@\\(utils\\.h\\)@src/\\1 at g" ${item}
+ }
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110110/810366b6/attachment.html>
More information about the macports-changes
mailing list