Skip to main content.

2006-Jan-05

In December, I thought about extending pkg_add so dependencies can be added via a command-line argument using package wildcards, like:
pkg_add -d "kdelibs>=3.5.0" libkipi-0.1.1.tbz
Then if the libkipi-0.1.1.tbz package only depends on kdelibs>=3.4.0nb1, it will also depend on kdelibs>=3.5.0.

The reason I want this is so pkg_add will fail when I install packages if I don't have good enough dependencies.

Or maybe I could use pkg_info (against the binary package) instead to check first.

Here's the situation:

I have my own MY_BIN_INSTALL setting which I have used for several months. It installs a pre-made binary package if it exists in PACKAGES directory for the dependencies.

I use it to build graphics/gwenview which needs libkipi and I have a package ready to use. So it installs it which pulls in a kdelibs. But then gwenview really needs a newer kdelibs, so it gets built but now can't install because older was previously installed.

Later, I realized that this doesn't help much as maybe the pkgsrc-build framework can check this before attempting pkg_add.

ghen made it so BUILDLINK_DEPMETHOD.qt3-tools defaults to build instead of "full".