tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: sqlite3 builtin.mk
On Thu, Nov 10, 2011 at 02:36:36PM +0100, Jörn Clausen wrote:
> On Thu, Nov 10, 2011 at 2:12 PM, Benny Siegert <bsiegert%gmail.com@localhost>
> wrote:
> > On Thu, Nov 10, 2011 at 13:09, Thomas Klausner <wiz%netbsd.org@localhost>
> > wrote:
> >> 2) change the default pkg-config to include /usr/lib/pkgconfig
> >
> > This looks sensible to me. Why not simply do this?
>
> Because pkgsrc != NetBSD. Other OSes might store pkg-config stuff in
> other places. And I'm not sure about the consequences of such a global
> flag. On Solaris, there are "native" packages using pkg-config which I
> don't want to use in pkgsrc packages. At least not unconditionally.
Builtins are never used unconditionally. Builtin versions are always
checked, and a builtin.mk can do additional checks if necessary (for
optional features or similar things). Besides that, builtin detection
can always be overriden by explicitly setting USE_BUILTIN.* or PREFER.*
variables, either manually or by default in some platform specific .mk
file.
Hans
--
%SYSTEM-F-ANARCHISM, The operating system has been overthrown
Home |
Main Index |
Thread Index |
Old Index