svn commit: r288911 - head/share/mk
Simon J. Gerraty
sjg at juniper.net
Tue Oct 6 21:17:12 UTC 2015
Bryan Drewery <bdrewery at FreeBSD.org> wrote:
> > But wouldn't that imply that /usr/src/share/mk is the right set of
> > makefiles to use for /usr/src/ports/
> >
> > What would you consider the right sys.mk etc would be in such a case?
> >
>
> For our case we want the checked in src/share/mk to be used rather than
Are you refering to a src/share/mk which is sibling to src/ports/* or
something else?
Because with MAKESYSPATH=.../share/mk src/share/mk/sys.mk is what you
should find.
> the older /usr/share/mk as it is easier to support. If there's a problem
> we fix in our local.sys.env.mk or bsd.port.mk for instance, it will be
> used by updating the checkout. This was something we backported,
> without the src.conf inclusion in sys.mk, and were running with fine.
I might be confused...
It might help to differentiate the question of finding the right sys.mk
which IMO is critical to a happy outcome, from what to do with src.* if
present.
Normally anything under $SRCTOP should be subject to src.* - by
definition.
But there's no reason you cannot make exceptions - by (as I think you
already mentioned) adding a check for $SRCTOP/ports in local*sys*mk
to suppress src.conf at least.
More information about the svn-src-head
mailing list