universal_variant no

Daniel J. Luke dluke at geeklair.net
Tue Jun 21 13:57:48 PDT 2011


On Jun 21, 2011, at 2:23 PM, Joshua Root wrote:
> 
> On 2011-6-22 04:01 , Bradley Giesbrecht wrote:
>> opendkim depends on libmilter which does not have a universal variant.
>> 
>> Does this alone mean that I must/should add "universal_variant   no" to my opendkim Portfile?
> 
> Depends on how the dependency is used. If it's an architecture-specific
> library that is linked against, which seems likely from the name in this
> case, then yes, you should also disable universal in the dependent.
> Otherwise users will just get an arch mismatch error when they try it.

it's probably linking with libmilter, so this is correct.

> If the dependency just provided a command which was executed by the
> dependent in a separate process, then the archs wouldn't need to match
> and you could put it in depends_skip_archcheck and leave universal enabled.

the best thing would probably be to provide a patch to enable universal for libmilter :)

--
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