[MacPorts] #65182: An easy to correct error in the install from sources documentation

MacPorts noreply at macports.org
Sun May 15 00:26:49 UTC 2022


#65182: An easy to correct error in the install from sources documentation
---------------------------+--------------------
 Reporter:  AbcMediumRepo  |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  Low            |  Milestone:
Component:  ports          |    Version:  2.7.2
 Keywords:                 |       Port:
---------------------------+--------------------
 Hello everybody,

 Thank you all for your great software!
 I found a little error in the install documentation, in
 https://guide.macports.org/#installing.macports.source
 I had rebuild the sources from a git clone, so I need to change
 /opt/local/etc/macports/sources.conf

 In
 "(Optional) Configure MacPorts to use port information from Git

 This step is useful if you want to do port development. Check out the
 ports tree from git:

 $ cd /opt/mports
 $ git clone https://github.com/macports/macports-ports.git
 Then open /opt/local/etc/macports/sources.conf in a text editor. The last
 line should look like this:

 rsync://rsync.macports.org/macports/release/tarballs/ports.tar [default]
 Change it to point to the working copy you checked out:

 file:///opt/mports/macports-ports [default]
 Now MacPorts will look for portfiles in the working copy and use Git
 instead of rsync to update your ports tree.
 "

 file:///opt/mports/macports-ports [default] is wrong because the line up
 have been changed, I suppose.
 The right content for this /opt/local/etc/macports/sources.conf is, at the
 end of the file:
 file:///opt/mports/macports-base/ [default]

 macports-base is good, macports-ports was wrong for me.

 Hope it helps,

 Best regards,

 Tristan Guez

-- 
Ticket URL: <https://trac.macports.org/ticket/65182>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list