summaryrefslogtreecommitdiff
path: root/Packages.txt
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2000-04-20 16:06:23 +0000
committerjdolecek <jdolecek>2000-04-20 16:06:23 +0000
commit5a6a62679ce2517f2b0f39c36242d95f81111d4d (patch)
tree70b6a55e8aa9710cf0b291ae39493ccd1c36a880 /Packages.txt
parentad1a2ac6d3a7e4bf1a68f324e9afe852fc5e213c (diff)
downloadpkgsrc-5a6a62679ce2517f2b0f39c36242d95f81111d4d.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.txt18
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