[MacPorts] #63138: meson @0.58.1: distfile not mirrored

MacPorts noreply at macports.org
Fri Jun 25 01:15:05 UTC 2021


#63138: meson @0.58.1: distfile not mirrored
-----------------------------+------------------------
  Reporter:  tehcog          |      Owner:  ryandesign
      Type:  defect          |     Status:  closed
  Priority:  Normal          |  Milestone:
 Component:  server/hosting  |    Version:  2.7.1
Resolution:  fixed           |   Keywords:
      Port:                  |
-----------------------------+------------------------

Comment (by kencu):

 MacPorts does not use the "curl" binary. It links directly to a libcurl
 and calls into that library. So no amount of renaming the curl binary will
 be useful.

 For an ultra-fast but slightly fragile way to get a newer curl library
 being used, install curl into your macports installation (you have it
 already):
 {{{
 sudo port -v install curl
 }}}
 and then download the MacPorts source tarball, and build MacPorts from
 source, specifying the new libcurl you have installed, like this:
 {{{
 cd /tmp
 git clone  -b release-2.7 https://github.com/macports/macports-base.git
 cd macports-base
 ./configure --with-curlprefix=/opt/local && make && sudo make install
 }}}

 and you're done. New macports installed against new curl, everything with
 MacPorts will work hunky-dory.

 Just remember after that to always do {{{sudo port -v sync}}} instead of
 {{{sudo port -v selfupdate}}} so you don't overwrite your custom
 installation. (If you do, it's no big deal -- just install from source
 again right over top).

 However, you may think, that is a bit delicate, as it is self-referencing.
 It is a bit. Probably in actual practice, not a big deal, but to be super
 careful, you can come back later and do what I do, install a second
 macports installation in /opt/bootstrap, install curl in that, and then
 reference that curlprefix in your main macports repo.

 Don't forget when you are installing a second macports installation to put
 the applications directory somewhere safe, and also don't install any
 startup items. Something like this would do it:
 {{{
 cd /tmp
 git clone  -b release-2.7 https://github.com/macports/macports-base.git
 cd macports-base
 ./configure --prefix=/opt/bootstrap --with-applications-
 dir=/opt/bootstrap/Applications --without-startupitems
 make && sudo make install
 }}}

 and then install curl in that
 {{{
 sudo /opt/bootstrap/bin/port -v -N install curl
 }}}
 and then reference that when you reinstall macports into /opt/local

-- 
Ticket URL: <https://trac.macports.org/ticket/63138#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list