Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2012 10:26:19 -0500
From:      Bryan Drewery <bryan@shatow.net>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        Baptiste Daroussin <bapt@FreeBSD.org>, Palle Girgensohn <girgen@pingpong.net>, freebsd-ports@FreeBSD.org
Subject:   Re: sanity-config issue
Message-ID:  <4FD8B11B.608@shatow.net>
In-Reply-To: <4FD8624F.6080104@FreeBSD.org>
References:  <4FD8624F.6080104@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/13/2012 4:50 AM, Andriy Gapon wrote:
> 
> 
> In some ports I am getting an error message about how make doesn't know how to
> make sanity-config after exiting from config menu.
> I see that there is
> 	@${MAKE} sanity-config
> line at the end of the config target script.
> 
> I use WRKDIRPREFIX=/usr/obj and I noticed that e.g. in the case of
> mail/thunderbird port the make command was being run from
> /usr/obj/usr/ports/mail/thunderbird.
> 
> My workaround was to prepend "cd ${.CURDIR};" before the make command.
> I see that this is a popular theme in bsd.port.mk, but I am not sure why it is
> needed and if my workaround is actually correct.
> 
> Hope that this is useful.
> 

Andriy,

Thank you for identifying the cause of this. Some others have reported
it as well but I have been unable to recreate.

I'll get a patch/PR submitted to fix.

-- 
Regards,
Bryan Drewery
bdrewery@freenode/EFNet



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