Subject: Re: possible to create dummy packages?
To: Rakhesh Sasidharan <rakheshster@gmail.com>
From: Greg Troxel <gdt@ir.bbn.com>
List: pkgsrc-users
Date: 06/07/2006 13:32:40
--=-=-=
Content-Transfer-Encoding: quoted-printable


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.


=2D-=20
        Greg Troxel <gdt@ir.bbn.com>

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFEhw28+vesoDJhHiURAhgUAKCjU4jl8zigrnEmEgt5eOtAWuuKSQCfeCet
UdWuA7awsCT5gDMpgrCp0bg=
=A/7z
-----END PGP SIGNATURE-----
--=-=-=--