From 035368baaf87fd7f5f09e324c19b6be26e02b91c Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Wed, 18 Jan 2006 20:53:44 +0000 Subject: [PATCH] - Document dependencies with minimal version of dependent package --- en_US.ISO8859-1/books/porters-handbook/book.sgml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/en_US.ISO8859-1/books/porters-handbook/book.sgml b/en_US.ISO8859-1/books/porters-handbook/book.sgml index 29fdeffd60..5a3cc4ad7b 100644 --- a/en_US.ISO8859-1/books/porters-handbook/book.sgml +++ b/en_US.ISO8859-1/books/porters-handbook/book.sgml @@ -3389,6 +3389,22 @@ ALWAYS_KEEP_DISTFILES= yes + + Minimal version of a dependency + + A minimal version of a dependency can be specified in any + *_DEPENDS variable using the following + syntax: + + p5-Spiffy>=0.26:${PORTSDIR}/devel/p5-Spiffy + + The first field contains a dependent package name, + which must match the entry in the package database, + a comparison sign, and a package version. The dependency + is satisfied if p5-Spiffy-0.26 or newer is installed on + the machine. + + Notes on dependencies