Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 2004 23:04:19 +0200
From:      Roman Neuhauser <neuhauser@chello.cz>
To:        Jeremie Le Hen <jeremie.le-hen@epita.fr>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: WRKDIRPREFIX and make search
Message-ID:  <20040610210419.GA497@isis.wad.cz>
In-Reply-To: <20040610155914.GA5026@rocco.epita.fr>
References:  <20040610155914.GA5026@rocco.epita.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
# jeremie.le-hen@epita.fr / 2004-06-10 17:59:14 +0200:
> when I shared my ports tree using NFS among all my FreeBSD boxes (and   
> thus set WRKDIRPREFIX in make.conf(5) to avoid conflicts while   
> upgrading) I noticed that "make search" didn't work any longer (it
> doesn't find anything).
> 
> I started to debug Mk/bsd.port.subdir.mk and I discovered that the
> working directory seems to be $WRKDIRPREFIX/$PORTSDIR and thus
> $here variable contains $WRKDIRPREFIX/$PORTSDIR ("/usr/obj/usr/ports" 
> in my case).  Since it greps for this path in the INDEX file, nothing
> is found.
> 
> Is it a bug or a feature ?  In the later case, what am I missing ?

    the manual page for make, specifically, the description of
    .OBJDIR. you'll be happier if you set WRKDIRPREFIX to something
    else than /usr/obj.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040610210419.GA497>