pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: possible to create dummy packages?



See the pkgsrc guide search for "builtin.mk".  Some of what you want
already happens.

The problem is that often a particular version is demanded, and pkgsrc
will provide that version rather than some other almost-but-not-quite
that's already there.  The real question is declaring the required
interface because that's what all the foo-using packages expect.

Even on NetBSD this issue exists, particularly with libraries that are
part of XFree86:

> type -a fc-cache
fc-cache is /usr/pkg/bin/fc-cache
fc-cache is /usr/X11R6/bin/fc-cache

So, it should be possible to write a builtin.mk for lang/perl5.  But
if the perl in the base OS isn't recent enough, some packages will
want pkgsrc perl anyway.

See devel/zlib, devel/gettext-lib, and security/openssl for examples.


-- 
        Greg Troxel <gdt%ir.bbn.com@localhost>

Attachment: pgpHFaMCU7kqX.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index