On Sep 3, 2009, at 12:27, [email protected] wrote:
Revision: 56939
http://trac.macports.org/changeset/56939
Author: [email protected]
Date: 2009-09-03 10:27:45 -0700 (Thu, 03 Sep 2009)
Log Message:
-----------
New Version
Modified Paths:
--------------
trunk/dports/editors/sigil/Portfile
Modified: trunk/dports/editors/sigil/Portfile
===================================================================
--- trunk/dports/editors/sigil/Portfile 2009-09-03 17:24:27 UTC (rev
56938)
+++ trunk/dports/editors/sigil/Portfile 2009-09-03 17:27:45 UTC (rev
56939)
platform x86_64 {
pre-configure {
- reinplace "s|ppc;i386|x86_64|g" ${worksrcpath}/CMakeLists.txt
+ reinplace "s|ppc;i386|x86_64|g" ${workpath}/Sigil_code_${version}/
CMakeLists.txt
}
}
There is still no such thing as "platform x86_64" in MacPorts.
platform powerpc {
pre-configure {
- reinplace "s|ppc;i386|ppc|g" ${worksrcpath}/CMakeLists.txt
+ reinplace "s|ppc;i386|ppc|g" ${workpath}/Sigil_code_${version}/
CMakeLists.txt
}
}
platform i386 {
pre-configure {
- reinplace "s|ppc;i386|i386|g" ${worksrcpath}/CMakeLists.txt
+ reinplace "s|ppc;i386|i386|g" ${workpath}/Sigil_code_${version}/
CMakeLists.txt
}
}
Now that MacPorts 1.8.0 is out, consider replacing the above with a
single pre-configure block which uses ${configure.build_arch}.
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev