aboutsummaryrefslogtreecommitdiff
path: root/mod/page.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-05 09:22:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-05 09:22:06 +0200
commitb6746495ce6ee4ba5e3b414a7e401a8135ee1508 (patch)
tree9d18724c0144b9d4113f8ca2af30173aa210cc57 /mod/page.cxx
parent207e5156c5664822e0aee8bcc3057adc61027f5b (diff)
Add support for build-time dependencies
Diffstat (limited to 'mod/page.cxx')
-rw-r--r--mod/page.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/page.cxx b/mod/page.cxx
index aba7581..2c1b4d1 100644
--- a/mod/page.cxx
+++ b/mod/page.cxx
@@ -293,6 +293,9 @@ namespace brep
if (d.conditional)
s << "?";
+ if (d.buildtime)
+ s << "*";
+
// Suppress package name duplicates.
//
set<string> names;
@@ -373,6 +376,9 @@ namespace brep
if (r.conditional)
s << "?";
+ if (r.buildtime)
+ s << "*";
+
if (r.empty ())
{
// If there is no requirement alternatives specified, then