Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2012 12:50:07 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        freebsd-ports@FreeBSD.org
Subject:   sanity-config issue
Message-ID:  <4FD8624F.6080104@FreeBSD.org>

next in thread | raw e-mail | index | archive | help


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 Gapon



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