[70481] trunk/dports/kde/ktorrent/Portfile
michaelld at macports.org
michaelld at macports.org
Tue Aug 10 21:15:48 PDT 2010
Revision: 70481
http://trac.macports.org/changeset/70481
Author: michaelld at macports.org
Date: 2010-08-10 21:15:45 -0700 (Tue, 10 Aug 2010)
Log Message:
-----------
Correct #include Phonon -> phonon .
Modified Paths:
--------------
trunk/dports/kde/ktorrent/Portfile
Modified: trunk/dports/kde/ktorrent/Portfile
===================================================================
--- trunk/dports/kde/ktorrent/Portfile 2010-08-11 03:13:22 UTC (rev 70480)
+++ trunk/dports/kde/ktorrent/Portfile 2010-08-11 04:15:45 UTC (rev 70481)
@@ -29,3 +29,11 @@
configure.args-append ../${distname} \
-DQCA2_LIBRARIES=${qca_dir}/lib/libqca.2.dylib \
-DQCA2_INCLUDE_DIR=${qca_dir}/include/QtCrypto
+
+post-extract {
+ # change #include <Phonon...> to <phonon...> in all files that
+ # contain that header.
+ foreach item [exec grep -lr "Phonon" ${workpath}/${distname}] {
+ reinplace "/#include/s at Phonon@phonon@" ${item}
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100810/51dd70b4/attachment.html>
More information about the macports-changes
mailing list