Opened 3 years ago
Closed 2 years ago
#65182 closed defect (invalid)
An easy to correct error in the install from sources documentation
Reported by: | AbcMediumRepo | Owned by: | |
---|---|---|---|
Priority: | Low | Milestone: | |
Component: | guide | Version: | 2.7.2 |
Keywords: | Cc: | ||
Port: |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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.gitThen 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
Change History (2)
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Component: | ports → guide |
---|---|
Description: | modified (diff) |
comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
I don't see how your suggestion could be correct. The documentation is correct as written. sources.conf must point to the place where your ports tree is, such as a clone of macports-ports. It makes no sense to point it at a clone of macports-base.