Alexander Hansen wrote: > Koen van der Drift wrote: >> On Tue, Oct 13, 2009 at 8:46 AM, Martin Costabel <costa...@wanadoo.fr> wrote: >> >>> Koen van der Drift wrote: >>> >>>> Yeah, Iwas thinking along those lines as well. So I found that if I >>>> comment out the line: >>>> >>>> set( CMAKE_OSX_ARCHITECTURES ppc;i386 ) >>>> >>>> it will not create a universal binary. But then it will create >>>> different packages for ppc and i386, correct? How do I work around >>>> that, should I make variants, eg? >>>> >>> Packages for ppc and i386 are always different, that's why the *.deb files >>> have different names and are stored in different directories. >>> >> Sounds good, I'll have a shot at it. Are there other packages in fink >> that do something similar, so I can use that as an example? >> >> Thanks, >> >> - Koen. >> > Sure. There are a few that use different .info files, and also a number > that set different options or script differently depending on the > architecture. > For the former, doing > > find /sw/fink/10.4/unstable -name "*powerpc*" > > will show them. > For the latter option. you could do something like > > find /sw/fink/10.4/unstable -name "*.info" | xargs grep %m
I don't think you have to play any games with multiple .info files or conditionals in PatchScript. As you said at the top, commenting out the line gives you a single architecture. So, as Martin stated, a deb built on ppc and a deb built on i386 are given different names because they are different and that is normal and shouldn't be a worry. When you say "But then it will create different packages for ppc and i386, correct?", by "it" do you mean fink or do you mean the package source internally creates two separate builds? I'm going to guess the former, which means that the above paragraph should be all that is needed. Hanspeter ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel