[MacPorts] #68167: WIP new Portfile Bonzomatic
MacPorts
noreply at macports.org
Sun Sep 17 00:46:12 UTC 2023
#68167: WIP new Portfile Bonzomatic
-------------------------+--------------------
Reporter: artkiver | Owner: (none)
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: Bonzomatic |
-------------------------+--------------------
Comment (by ryandesign):
Replying to [comment:2 artkiver]:
> Replying to [comment:1 ryandesign]:
> > We don't want the CMakeLists.txt to set `CMAKE_OSX_ARCHITECTURES` at
all because the portgroup already does that correctly. I don't remember if
the portgroup will override what's in CMakeLists.txt. If it doesn't,
what's in CMakeLists.txt will have to be removed with a patch.
>
> I appreciate that perspective. I was thinking along similar lines
insomuch as it might be possible to build on PPC as well (though I haven't
dug up one of my PowerBooks from storage to test, I suppose I can!). The
initial impetus for the issue I submitted to the upstream project was when
I went to build this from source on an Apple Silicon Mac, it was prompting
me to install Rosetta (2) after launching, which shouldn't be necessary,
though the PR I linked to previously maybe isn't the most appropriate way
to handle such things for MacPorts either given we support more than just
Intel and Apple Silicon.
Ok, that proves the build is ignoring the architecture MacPorts is telling
it to use, so we want to remove `CMAKE_OSX_ARCHITECTURES` from the
CMakeLists.txt, not just for the potential of building on ppc/ppc64/i386
but also for the benefit of anyone trying to cross compile for arm64 on
x86_64 or vice versa or anyone who wants to build universal.
--
Ticket URL: <https://trac.macports.org/ticket/68167#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list