diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2000-04-20 16:06:23 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2000-04-20 16:06:23 +0000 |
commit | c6505838722eed895d8e051048251ac5308c0933 (patch) | |
tree | 70b6a55e8aa9710cf0b291ae39493ccd1c36a880 /Packages.txt | |
parent | 11d1f7b147b1857236be20e4edc47b9ede6bc6b3 (diff) | |
download | pkgsrc-c6505838722eed895d8e051048251ac5308c0933.tar.gz |
Warn about too-generous wildcard dependencies, which may prove bogus (using
tk-* as example). Also fix no more accurate info regarding wildcard deps -
they are now retained even for binary packages.
Suggested by David Brownlee.
Diffstat (limited to 'Packages.txt')
-rw-r--r-- | Packages.txt | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/Packages.txt b/Packages.txt index 49891674e0f..296d646dc8b 100644 --- a/Packages.txt +++ b/Packages.txt @@ -1,4 +1,4 @@ -# $NetBSD: Packages.txt,v 1.83 2000/03/10 17:57:11 hubertf Exp $ +# $NetBSD: Packages.txt,v 1.84 2000/04/20 16:06:23 jdolecek Exp $ ########################################################################### ========================== @@ -1391,9 +1391,17 @@ You can also use wildcards in package dependences: DEPENDS+= xpm-*:../../graphics/xpm -Note that these wildcards will be expanded while creating binary packages. -Thus binary package will depend on exactly the version which was installed -when they were created. +Note that such wildcard dependencies are retained when creating +binary package. The dependency is checked when installing the binary +package and any package which matches the pattern would be used. +Beware that wildard dependencies should be used with a bit of care. +Simple example for package which needs some version of Tk installed, +but doesn't care which exactly - dependency + +DEPENDS+= tk-*:../../x11/tk80 + +would also match e.g. tk-postgresql-6.5.3, which is not what was +needed. ALWAYS ensure that the wildcard doesn't match more than it should. (d) If your package needs some executable to be able to run correctly, this is specified using the DEPENDS definition. The print/lyx package needs to @@ -1402,6 +1410,8 @@ and that is specified: DEPENDS+= teTex-*:../../print/teTeX +The comment about wildcard dependencies from previous paragraph +applies here, too. 9.13 Conflicts with other packages |