[55651] trunk/dports/editors/sigil/Portfile

Ryan Schmidt ryandesign at macports.org
Sun Aug 16 12:54:41 PDT 2009


On Aug 16, 2009, at 02:34, krischik at macports.org wrote:

> Revision: 55651
>           http://trac.macports.org/changeset/55651
> Author:   krischik at macports.org
> Date:     2009-08-16 00:34:11 -0700 (Sun, 16 Aug 2009)
> Log Message:
> -----------
> new version - which is universal by default - hope I did id the  
> 'right' way.


> +platform x86_64 {
> +    pre-configure {
> +	reinplace "s|ppc;i386|x86_64|g" ${worksrcpath}/CMakeLists.txt
> +    }
> +}

There isn't any platform x86_64. The only platforms MacPorts has are  
powerpc and i386.

MacPorts 1.8 will have the build_arch variable which you may need to  
make use of, if available. There are several ports currently which  
show how to do this in a way that does not break for MacPorts 1.7.

You should also ensure your changes don't prevent a universal build  
from happening when the user does select the +universal variant.



More information about the macports-dev mailing list