post-destroot like callback inside muniversal destroot before merge?

Daniel J. Luke dluke at geeklair.net
Mon Mar 11 10:47:58 PDT 2013


On Mar 11, 2013, at 12:57 PM, Michael Dickens <michaelld at macports.org> wrote:
> This callback
> could be muniversal-1.0 specific, or just the Portfile's post-destroot.

It would probably be nice to extend muniversal to give you a generic hook to handle things that can't be merged.

However, I think you can work around this already.

It's been a while since I added the hack in clamav's portfile, but it just uses one clamav-config file when building +universal (and does some reinplaces on it) since they can't be automatically merged. It's probably an abuse of merger_dont_diff, but it works.

--
Daniel J. Luke                                                                   
+========================================================+                        
| *---------------- dluke at geeklair.net ----------------* |                          
| *-------------- http://www.geeklair.net -------------* |                          
+========================================================+                        
|   Opinions expressed are mine and do not necessarily   |                          
|          reflect the opinions of my employer.          |                          
+========================================================+





More information about the macports-dev mailing list