[32470] trunk/dports/python/py25-gtk/Portfile

Ryan Schmidt ryandesign at macports.org
Thu Jan 3 05:54:07 PST 2008


On Jan 3, 2008, at 06:03, afb at macports.org wrote:

> +platform darwin 9 {
> +    post-patch {
> +        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/ 
> Makefile.am
> +        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/ 
> Makefile.in
> +        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/ 
> gtk/Makefile.am
> +        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/ 
> gtk/Makefile.in
> +    }
> +}


reinplace does accept multiple files to patch, so you could just do:

         reinplace "s| -export-symbols-regex.*||g"
                 ${worksrcpath}/Makefile.am \
                 ${worksrcpath}/Makefile.in \
                 ${worksrcpath}/gtk/Makefile.am \
                 ${worksrcpath}/gtk/Makefile.in
>




More information about the macports-dev mailing list