[61961] trunk/dports/editors/sigil

Ryan Schmidt ryandesign at macports.org
Sat Dec 26 12:57:30 PST 2009


On Dec 26, 2009, at 02:33, krischik at macports.org wrote:

> platform x86_64 {
>     pre-configure {
> -	reinplace "s|ppc;i386|x86_64|g" ${workpath}/Sigil_code_${version}/CMakeLists.txt
> +	reinplace "s|ppc;i386|x86_64|g" ${workpath}/Sigil-${version}-Code/CMakeLists.txt
>     }
> }

Remember that there is no such thing as "platform x86_64" in MacPorts.

> pre-configure {
> +    ui_msg "######################################################"
> +    ui_msg "# Note: SnowLeopard might need explicit +x86_64      #"
> +    ui_msg "######################################################"
> +
>     file mkdir ${worksrcpath}
> }


Not really the way we want to handle this. Please inspect the variable ${configure.build_arch} (or, if you want to support universal builds, ${configure.universal_archs}) and act appropriately on all operating system versions.





More information about the macports-dev mailing list