Re: error out if PORTSDIR is not set to the real directory.

2012-03-24 Thread RD Thrush
On 03/23/12 14:37, Marc Espie wrote: Since we are talking about a cluster here, it's likely you're mixingmatching stuff and confusing what happens on the local box and on the distant box. I'm pretty sure that, if you take the time to REALLY look at what's going on on your machine(s), you'll

Re: error out if PORTSDIR is not set to the real directory.

2012-03-24 Thread RD Thrush
Catching up on misc@... Inline reply. On 03/23/12 15:48, Jan Stary wrote: On Mar 23 13:58:08, RD Thrush wrote: On 03/23/12 07:25, Stuart Henderson wrote: On 2012/03/23 07:11, RD Thrush wrote: My PORTSDIR is on an nfs server. Mounting the particular nfs directory on /usr/ports (and setting

error out if PORTSDIR is not set to the real directory.

2012-03-23 Thread RD Thrush
My PORTSDIR is on an nfs server. Mounting the particular nfs directory on /usr/ports (and setting PORTSDIR accordingly) fails the new test in bsd.port.mk. Apparently test -h considers an nfs mount the same as a symlink... The attached diff fixes the problem for me. Index: bsd.port.mk

Re: error out if PORTSDIR is not set to the real directory.

2012-03-23 Thread Stuart Henderson
On 2012/03/23 07:11, RD Thrush wrote: My PORTSDIR is on an nfs server. Mounting the particular nfs directory on /usr/ports (and setting PORTSDIR accordingly) fails the new test in bsd.port.mk. Apparently test -h considers an nfs mount the same as a symlink... Hmm, that's weird. It doesn't

Re: error out if PORTSDIR is not set to the real directory.

2012-03-23 Thread Marc Espie
On Fri, Mar 23, 2012 at 11:25:49AM +, Stuart Henderson wrote: On 2012/03/23 07:11, RD Thrush wrote: My PORTSDIR is on an nfs server. Mounting the particular nfs directory on /usr/ports (and setting PORTSDIR accordingly) fails the new test in bsd.port.mk. Apparently test -h

Re: error out if PORTSDIR is not set to the real directory.

2012-03-23 Thread Jan Stary
On Mar 23 07:11:45, RD Thrush wrote: My PORTSDIR is on an nfs server. Mounting the particular nfs directory on /usr/ports (and setting PORTSDIR accordingly) fails the new test in bsd.port.mk. Can you please show how exactly you are mounting it, and how exactly it fails? If you 'mount

Re: error out if PORTSDIR is not set to the real directory.

2012-03-23 Thread RD Thrush
On 03/23/12 08:05, Marc Espie wrote: On Fri, Mar 23, 2012 at 11:25:49AM +, Stuart Henderson wrote: On 2012/03/23 07:11, RD Thrush wrote: My PORTSDIR is on an nfs server. Mounting the particular nfs directory on /usr/ports (and setting PORTSDIR accordingly) fails the new test in

Re: error out if PORTSDIR is not set to the real directory.

2012-03-23 Thread RD Thrush
On 03/23/12 07:25, Stuart Henderson wrote: On 2012/03/23 07:11, RD Thrush wrote: My PORTSDIR is on an nfs server. Mounting the particular nfs directory on /usr/ports (and setting PORTSDIR accordingly) fails the new test in bsd.port.mk. Apparently test -h considers an nfs mount the same as a

Re: error out if PORTSDIR is not set to the real directory.

2012-03-23 Thread RD Thrush
On 03/23/12 09:01, Jan Stary wrote: On Mar 23 07:11:45, RD Thrush wrote: My PORTSDIR is on an nfs server. Mounting the particular nfs directory on /usr/ports (and setting PORTSDIR accordingly) fails the new test in bsd.port.mk. Can you please show how exactly you are mounting it, and how

Re: error out if PORTSDIR is not set to the real directory.

2012-03-23 Thread Marc Espie
Since we are talking about a cluster here, it's likely you're mixingmatching stuff and confusing what happens on the local box and on the distant box. I'm pretty sure that, if you take the time to REALLY look at what's going on on your machine(s), you'll figure it out. I'm convinced that there's

Re: error out if PORTSDIR is not set to the real directory.

2012-03-23 Thread Jan Stary
On Mar 23 13:59:42, RD Thrush wrote: On 03/23/12 09:01, Jan Stary wrote: On Mar 23 07:11:45, RD Thrush wrote: My PORTSDIR is on an nfs server. Mounting the particular nfs directory on /usr/ports (and setting PORTSDIR accordingly) fails the new test in bsd.port.mk. Can you please show how

Re: error out if PORTSDIR is not set to the real directory.

2012-03-23 Thread Andres Perera
On Fri, Mar 23, 2012 at 8:31 AM, Jan Stary h...@stare.cz wrote: On Mar 23 07:11:45, RD Thrush wrote: My PORTSDIR is on an nfs server.  Mounting the particular nfs directory on /usr/ports (and setting PORTSDIR accordingly) fails the new test in bsd.port.mk. Can you please show how exactly you

Re: error out if PORTSDIR is not set to the real directory.

2012-03-23 Thread RD Thrush
On 03/23/12 15:50, Jan Stary wrote: On Mar 23 13:59:42, RD Thrush wrote: On 03/23/12 09:01, Jan Stary wrote: On Mar 23 07:11:45, RD Thrush wrote: My PORTSDIR is on an nfs server. Mounting the particular nfs directory on /usr/ports (and setting PORTSDIR accordingly) fails the new test in