Do I want subports?

Mojca Miklavec mojca at macports.org
Thu Sep 8 10:41:27 PDT 2016


On 8 September 2016 at 19:33, Ken Cunningham wrote:
> Working on the optimal way to do this emulator + GUI program.
>
> The emulator itself is best built with i386, for the JIT. This requires
> libSDL to be available in i386 (so presumably +universal). You can monkey
> around with a no-JIT version, but you wouldn't want it, ultimately.
>
> The rather tiny little GUI (that just edits a simple config file with text
> lines) is compatible with gtk1 or gtk2 has no reason to be any special
> architecture (x86-64 would be just fine, if you have the gtk tree built that
> way).
>
> I don't want to make people reinstall their whole gtk tree as universal for
> no reason... on Snow Leopard (building from source) this takes half a day.
> (OK, not quite -- but a long time).
>
> Is this a role for subports, with the emulator forced to i386, but the gui
> left to be whatever?

In the case you describe I would indeed go for subports. If
architecture of the GUI is unrelated to the architecture of the
emulator, it would be an overkill to require building everything as
universal.

Mojca


More information about the macports-dev mailing list