Subject: Re: CVS commit: pkgsrc/pkgtools/x11-links
To: Juan RP <juan@xtraeme.unixbsd.org>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: pkgsrc-changes
Date: 01/25/2004 19:35:40
On Sun, Jan 25, 2004 at 06:42:25PM +0100, Juan RP wrote:
> > 
> > Hmmm... x11-links depends on XFree86-libs; ok.  But x11-links is always
> > used as a build dependancy, so packages won't get a dependancy registered
> > against XFree86-libs (as happened before, when a DEPENDS was in bsd.pkg.mk).
> > Is this really ok?  Or am I missing something?
> 
> Yes, it's ok, x11-links will take care about the headers/libraries.

x11-links are just that, symlinks to real files, used only during the *build*.
If you, for example, build xearth with the XFree86 packages in pkgsrc, and
later do pkg_add xearth on a machine without X11, you should get XFree86-libs
automatically installed (in fact, you must, since you can't assume it will
work with another X build).  And as I see it now, it won't, so xearth could
get installed but not work at all (missing dependancies).

-- 
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/