On the heels of the memtester port

Scott Haneda talklists at newgeo.com
Wed Jul 15 12:50:18 PDT 2009


On Jul 15, 2009, at 12:23 PM, Jeremy Lavergne wrote:

> On Jul 15, 2009, at 2:58 PM, Scott Haneda wrote:
>
>> sudo port -d dmg memtester
>> ...
>> Is there a way on the command above to alter prefix for the one  
>> time build to /usr/local/bin and is there a way to also alter it to  
>> be able to put the man page in the correct place?
>>
>> Or do I just create a separate local port for these specific needs?
>
> I believe that build only happens if destroot is empty or you force  
> it; autoclean can be your enemy.  That being said, you can build  
> macports to use any prefix you desire, and use it strictly for  
> building/testing your dmg.
>
> On a per-port level -- I'm not sure I'd suggest that since all the  
> dependencies should also be in this specified location. The easiest  
> way to achieve that is just compiling MacPorts for another prefix.


Hmm, sounds like a lot of work for just one small binary.  I just  
pulled the binary out of the pkg, and get info on it, and it says it  
is a Intel file.

$lipo -info memtester
Non-fat file: memtester is architecture: i386

I also just uninstalled and then `sudo port install memtester  
+universal`
$lipo -info memtester
Non-fat file: memtester is architecture: i386

I suspect this has to do with:
DEBUG: not using configure, so not adding the default universal variant

I am probably getting in over my head on this one, but would like to  
hear some suggestions.
-- 
Scott * If you contact me off list replace talklists@ with scott@ *



More information about the macports-dev mailing list