Subject: Re: X11 packages
To: Johnny Lam <firstname.lastname@example.org>
From: David Burgess <email@example.com>
Date: 11/30/2001 09:28:51
Just a random thought - is there a way in the pkgsrc system to do
conditionals based on things that are installed (vice installing them
for every condition).
For example, in all that work you did with the php packages, would
it have been beneficial to simply run something like a 'best fit'
that would (as a pure example) install the php-mysql stuff if
mysql-client was installed, but not if it wasn't?
The hook back to the original post is that, if such as facility existed,
the X11 packages could install themselves with xpkgwedge if it was
installed (as it reasonably could be on a workstation in the wild) but
not on the machine where the pkg TAR files are built.
Like I said - just a random thought. It's kind of a froody feature
that might come in handy for some of these weird inter-dependent
P.S. I've recently built a NetBSD package that does a really good
job of building out the dependencies for an ISP accounting system
called 'Freeside'. It does a really crappy job of actually
installing anything from the system, but it mows through those
interdependencies like corn through a goose. Is it worth even
Johnny Lam wrote:
> On Fri, Nov 30, 2001 at 02:52:11PM +0100, Torelli Paolo wrote:
> > Johnny Lam wrote:
> > > Note that if you use this, that you have to compile your own X11 packages
> > > from pkgsrc. The binary packages on ftp.netbsd.org assume that X11 packages
> > > go into /usr/X11R6. Having said that, I've been using xpkgwedge for over
> > > a year now, and been quite happy with it.
> > Thanks for the pointers!
> > The constraint is not a problem since I always compile packages from
> > source.
> > I guess the package has been renamed? According to the NetBSD site,
> > under pkgtools there is no such "xpkgwedge", and a "x11-links" seems to
> > do what you're describing. No error? Am I wrong? Is the site wrong? I'll
> > check when I'll get home anyway.
> No, it's really under pkgtools/xpkgwedge. The web pages may not be correct,
> as I recall that we've been having problems with them lately. You'll want
> to remove all of your X11 packages, then install xpkgwedge, then recompile
> your X11 packages.
> > Thank you again!
> You're welcome! I'm trying to get more people to use xpkgwedge, so that it
> can become our default method of installation.
> -- Johnny Lam <firstname.lastname@example.org>