Opened 19 years ago

Closed 18 years ago

#5220 closed defect (invalid)

virgin install from CVS or tarfile doesn't build dports directory and portindex

Reported by: willray@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc:
Port:

Description

Installing on a virgin system, --with-dports-dir=<directory> can't work, because there's no PortIndex file installed at that location. Without this, it looks like it tries to build a path for the dports directory from a path that exists only if you use the CVS installer (/base/ isn't in the tarfile version), and then doesn't appear to populate it anyway. /opt/local/etc/ports/sources.conf doesn't get populated with the directory you specify, regardless.

Change History (3)

comment:1 Changed 19 years ago by toby@…

Component: dportsbase

comment:2 Changed 18 years ago by jberry@…

Can you please be more specific about what steps you attempted to take, and what the result was?

comment:3 Changed 18 years ago by jmpp@…

Resolution: invalid
Status: newclosed

As of the 1.0 release, DarwinPorts defaults to rsync fetching for both new sources and the ports, through the "selfupdate" and "sync" targets respectively. These are properly documented in the port(1) man page. The deafult setting of both the ports.conf and sources.conf files reflect these new practices.

If you have needs particular enough to warrant a customized "--with-dports-dir" flag at configuration time, you should manually point your installation to that location in the sources.conf file.

Other than that, I don't see how this is a bug, so I'm closing it.

-jmpp

Note: See TracTickets for help on using tickets.