info
Artem Loenko
artyom.loenko at mac.com
Fri Nov 27 16:01:02 UTC 2020
Hello,
I am in the same boat (and have switched from HomeBrew to MacPorts a few weeks ago, so, maybe I am wrong).
MacPorts as a tool works just fine on Macs with Apple Silicon, but many ports are “broken” and have to be fixed. Most of them just do not compile for `arm64`, and it is not MacPorts fault, some - do not compile due to MacPorts configuration (rare cases). So far, as far as I understand, the best course of action is to report all broken ports to the MacPorts tracker and to developers of the tool that does not compile for `arm64` arch. For example, this is a ticket about broken Neovim (https://trac.macports.org/ticket/61550 <https://trac.macports.org/ticket/61550>), but it does not compile due to issues on the NeoVim side (that’s why I started a discussion with them (https://github.com/neovim/neovim/issues/13399 <https://github.com/neovim/neovim/issues/13399>).
I use the following `make` target to install MacPorts on Apple Silicon or you can just download the package from the site (https://www.macports.org/install.php <https://www.macports.org/install.php>):
```
macports: ## Install/Upgrade MacPorts
ifeq (, $(shell which port))
$(eval TEMP_PKG := $(shell mktemp -t macports).pkg)
curl --silent --output $(TEMP_PKG) --remote-name https://distfiles.macports.org/MacPorts/MacPorts-2.6.4_1-11-BigSur.pkg
sudo installer -pkg $(TEMP_PKG) -target /
rm -Rf $(TEMP_PKG)
endif
sudo port selfupdate
```
Most of the tools I use just work:
```
The following ports are currently installed:
autoconf @2.69_5 (active)
automake @1.16.3_0 (active)
carthage @0.35.0_0 (active)
fish @3.1.2_0 (active)
fzf @0.24.3_0 (active)
gettext @0.19.8.1_2 (active)
icu @67.1_2 (active)
ninja @1.10.1_0 (active)
tig @2.5.1_0+doc (active)
tmux @3.1c_0 (active)
``
Regards,
Artem
> On 27 Nov 2020, at 15:37, Jeffrey Walton <noloader at gmail.com> wrote:
>
> On Fri, Nov 27, 2020 at 10:27 AM Giovanni Cantele
> <giovanni.cantele at spin.cnr.it> wrote:
>>
>> Dear All,.
>>
>> I’m searching the web but I cannot find any response to the following question:
>>
>> is there any ongoing project for porting the whole macports staff on the new Apple silicon architecture?
>> What happens to those who extensively make use of macports and have bought the recent released MacBook Pro running on the new processors?
>
> There are several recent threads about support of the latest hardware
> and software at:
>
> * https://lists.macports.org/pipermail/macports-users/2020-November/thread.html
>
> I understand Macports is working through the issues as they encounter
> them during testing before a release.
>
> I'm guessing it is a bigger task than just supporting a new OS release.
>
> Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20201127/4011dbd9/attachment.htm>
More information about the macports-users
mailing list