On Jul 6, 2011, at 13:53, Bradley Giesbrecht wrote:

> On Jul 6, 2011, at 11:20 AM, Daniel J. Luke wrote:
> 
>> On Jul 6, 2011, at 12:47 PM, Bradley Giesbrecht wrote:
>>> 
>>> I want to use the muniversal PortGroup and I need to copy a file to 
>>> ${worksrcpath}-${arch} before configure. The muniversal PortGroup creates 
>>> ${worksrcpath}-${arch} during the port configure phase.
>> 
>> same file to all $arch or a different file per $arch?
> 
> The files need to be named the same but I had wanted to have the content 
> variable dependent on arch.

I had wanted to do this at one point too. It seems like muniversal should maybe 
make its copies during an earlier phase, but that will probably break existing 
ports using muniversal. For example if the copies were to be made in 
post-extract, that will break the patch phase. If the copies were made in 
post-patch, I'm not certain if that would break post-patch phases. (Would the 
post-patch block from the portgroup or the post-patch block(s) from the 
portfile go first?) Similar question about pre-configure.


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to