Summary: | [PATCH] ports-mgmt/portconf: auto detect real path of /usr/ports | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Rong-En Fan <rafan> | ||||
Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | ale | ||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Rong-En Fan
2006-10-26 20:00:36 UTC
Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer Since _PORTSDIR will be invoked whenever make is invoked, I measured the time requirement for buildworld against RELENG_6 src/ on P4 3.4G i386 box running 6.2-RELEASE. before / after: 49m24.906s / 52m17.299s If this is not acceptable, call realpath when at installation stage and add a message in pkg-message. Regards, Rong-En Fan I found that ${VAR} != "" does not work as I thought. It should be replaced by empty(). I updated the patch at http://people.freebsd.org/~rafan/portconf.diff Rong-En Fan rafan 2007-06-22 10:41:01 UTC FreeBSD ports repository Modified files: ports-mgmt/portconf pkg-install Log: - Make portconf work when /usr/ports is a symlink. When the link is changed, you have to reinstall portconf to get make.conf right. As this does not affect most people, PORTREVISION is not bumped. The patch in the PR does not work: we can not use variable in substitution. So, the only way to do is to detect the real path of /usr/ports at installation time. PR: ports/104838 Submitted by: rafan Approved by: maintainer timeout (8 months) Revision Changes Path 1.2 +2 -1 ports/ports-mgmt/portconf/pkg-install _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Committed with different approach. |