Date: Thu, 26 Apr 2007 18:04:02 +0800 From: "Rong-en Fan" <grafan@gmail.com> To: ports@freebsd.org, ale@freebsd.org Subject: /usr/ports symlink and portconf Message-ID: <6eb82e0704260304g66cc60bdt564afe711929ff03@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
When /usr/ports is a symbolic links, ports-mgmt/portconf does not because .CURDIR contains the real path. I filed a PR 104838 last year which contains a patch that detects the real path of ${PORTSDIR} at runtime. The patch is at http://people.freebsd.org/~rafan/portconf.diff If you look at the patch, you will find that I invoke shell (via !=) whenever make is used. It impacts buildworld speed. On a P4 3.4G SMP i386 box, building RELENG_6 : before / after: 49m24.906s / 52m17.299s If most of you don't think this is acceptable, then it can be done at installation time. I would like to get this committed into portconf. Some boxes of mine has symlink on /usr/ports. Regards, Rong-En Fan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6eb82e0704260304g66cc60bdt564afe711929ff03>