aboutsummaryrefslogtreecommitdiff
path: root/libbrep/package.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbrep/package.cxx')
-rw-r--r--libbrep/package.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbrep/package.cxx b/libbrep/package.cxx
index 20be387..e14b15a 100644
--- a/libbrep/package.cxx
+++ b/libbrep/package.cxx
@@ -62,6 +62,7 @@ namespace brep
optional<email_type> be,
dependencies_type dp,
requirements_type rq,
+ build_constraints_type bc,
optional<path> lc,
optional<string> sh,
shared_ptr<repository_type> rp)
@@ -80,6 +81,10 @@ namespace brep
build_email (move (be)),
dependencies (move (dp)),
requirements (move (rq)),
+ build_constraints (
+ version.compare (wildcard_version, true) != 0
+ ? move (bc)
+ : build_constraints_type ()),
internal_repository (move (rp)),
location (move (lc)),
sha256sum (move (sh))