From 9b37c7107b33c93433667a042ebb86b34a2c6bfa Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 20 Aug 2014 11:17:26 +0200 Subject: [PATCH] Manual: explain "virtual?vpkg" runtime deps. --- Manual.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Manual.md b/Manual.md index 2f698106736..298b7171b03 100644 --- a/Manual.md +++ b/Manual.md @@ -588,6 +588,11 @@ Dependencies declared via `${depends}` are not installed to the master directory only checked if they exist as binary packages, and are built automatically by `xbps-src` if the specified version is not in the local repository. +There's a special variant of how `virtual` dependencies can be specified as `runtime dependencies` +and is by using the `virtual` keyword, i.e `depends="virtual?vpkg-0.1_1"`. This declares +a `runtime` virtual dependency to `vpkg-0.1_1`; this `virtual` dependency will be simply ignored +when the package is being built with `xbps-src`. + ### INSTALL and REMOVE files The INSTALL and REMOVE shell snippets can be used to execute certain actions at a specified