php mcrypt uiversal

Scott Haneda talklists at newgeo.com
Sat Jan 16 14:35:24 PST 2010


On Jan 15, 2010, at 6:18 PM, Ryan Schmidt wrote:

> On Jan 15, 2010, at 19:03, Scott Haneda wrote:
> 
>> I am trying to get mcrypt universal working, but hit an error:
> 
> It builds fine universal here. Presumably one of the dependencies is not built universal on your system.

Can you tell me how to list all the dependencies, not just the ones for mcrypt, but those for the dependencies of the dependencies of mcrypt.  

I suspect there is no simple way to get that list.

I am a little confused with this:
    $port dependents php5-mcrypt
    php5-mcrypt has no dependents!

But the Portfile shows:
    depends_lib-append      port:libmcrypt \
                            port:libtool


Is it a good idea to maybe just adjust my conf file for MacPorts to just built everything as a 4way UB?  Where can I read more about how to do this? I think I just need to add +universal to all the ports I install, but if there is a way to do so without remembering to add that to every port install command, it would be nice.

How do I adjust portfiles to be able to support +universal?

    $port info php5-mcrypt
    Variants:             debug, universal

I do not see anything in that Portfile that has debug or universal.  This is confusing to me, as when I compare that to a simple Portfile of my own, memtester:

    $port info memtester
    memtester @4.1.2 (sysutils)
    
    Description:          A userspace utility for testing the memory subsystem for 
                          faults.
    Homepage:             http://pyropus.ca/software/memtester/
    
    Platforms:            darwin
    License:              unknown

I am not sure how you get universal and debug into your Portfile, since there is no explicit code that is offering it.

Thanks.
-- 
Scott * If you contact me off list replace talklists@ with scott@ * 



More information about the macports-users mailing list