Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Aug 2013 14:03:08 +0300
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Idea for Mk/Uses snippet
Message-ID:  <CA%2B7WWSe6KhTfLtG68UFjtDa13TfLGLJZJ933Hr82JxhSyD5bcA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
There are quite a few ports that require system sources to be present
at /usr/src.

Would it make sense to create Mk/Uses snippet (for example named as
Mk/Uses/system-sources) that checks for let's say /usr/src/Makefile
and throws an error if the file is not present?

A port that requires the system sources to be present (for example
sysutils/lsof) could then just say:

USES= ... system-sources ..

What do you think?

-Kimmo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSe6KhTfLtG68UFjtDa13TfLGLJZJ933Hr82JxhSyD5bcA>