Make make.conf auto detect where the real path of /usr/ports is. If your /usr/ports is a symlink, portconf can still work. Port maintainer (ale@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77
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.