Revision: 70481 http://trac.macports.org/changeset/70481 Author: michaelld@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@Phonon@phonon@" ${item} + } +}
participants (1)
-
michaelld@macports.org