[MacPorts] #64266: Xft2 fails to build for ppc+ppc64 because of fontconfig and freetype fail

MacPorts noreply at macports.org
Thu Dec 23 21:03:05 UTC 2021


#64266: Xft2 fails to build for ppc+ppc64 because of fontconfig and freetype fail
-----------------------------------------+---------------------------------
  Reporter:  barracuda156                |      Owner:  (none)
      Type:  defect                      |     Status:  closed
  Priority:  Normal                      |  Milestone:
 Component:  ports                       |    Version:  2.7.1
Resolution:  invalid                     |   Keywords:  PowerPC, Leopard,
      Port:  Xft2, freetype, fontconfig  |  ppc64
-----------------------------------------+---------------------------------

Comment (by kencu):

 The important part is to give a separate directory for Applications, so
 they don't conflict with other installations.

 What I do is:

 1. clear the PATH so it's back to the default PATH (ie not finding
 anything in /opt/local).
 2. install macports from source in /opt/bootstrap with something like
 this:
 {{{
 ./configure --prefix=/opt/bootstrap --with-applications-
 dir=/opt/bootstrap/Applications --without-startupitems
 make && sudo make install
 cd /opt/bootstrap/bin
 sudo ./port -v sync
 sudo ./port -v -N install curl
 }}}

 3. rebuild macports in /opt/local against that curl, so with a fresh copy
 of base:
 {{{
 ./configure --with-curlprefix=/opt/bootstrap
 make && sudo make install
 cd /opt/local/bin
 sudo ./port -v sync
 sudo ./port -v -N upgrade outdated
 }}}

 after that, always use {{{sudo port -v sync}}} instead of {{{sudo port -v
 selfupdate}}} so you don't wreck your special macports in /opt/local.

 reset your PATH back to macports default, and you're good to go.

 I update /opt/bootstrap once or twice a year.

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


More information about the macports-tickets mailing list