summaryrefslogtreecommitdiffstats
path: root/src/2
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-11-09 12:21:55 (EST)
committer P. J. McDermott <pj@pehjota.net>2014-11-09 12:21:55 (EST)
commitbca2eb7efff66ab20288e8121789b2adc3a5ec28 (patch)
tree37f8d9c593175768626b63e289bf20e0fb166751 /src/2
parente9c243007abeea4fa124bc66cea419d87df928c8 (diff)
2/ppt-mkpkgs: Add substvars to Depends fields
Diffstat (limited to 'src/2')
-rw-r--r--src/2/ppt-mkpkgs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/2/ppt-mkpkgs b/src/2/ppt-mkpkgs
index 9e41e76..9adb138 100644
--- a/src/2/ppt-mkpkgs
+++ b/src/2/ppt-mkpkgs
@@ -63,7 +63,8 @@ make_build_time_pkgs()
cat >"config-${pkg}-${PLAT}.pkg/control" <<-EOF
Architecture: all
Platform: all
- Depends: config-${PLAT}-common (= \${Binary-Version})
+ Depends: config-${PLAT}-common (= \${Binary-Version}),
+ \${Config-${pkg}-Depends}
Description: "${PLAT}" platform configuration for ${pkg}
EOF
info 'Metadata for package "%s" generated.' \
@@ -83,7 +84,8 @@ make_run_time_pkgs()
cat >"config-${pkg}.pkg/control" <<-EOF
Architecture: all
Platform: ${PLAT}
- Depends: config-${PLAT}-common (= \${Binary-Version})
+ Depends: config-${PLAT}-common (= \${Binary-Version}),
+ \${Config-${pkg}-Depends}
Description: "${PLAT}" platform configuration for ${pkg}
EOF
info 'Metadata for package "%s" generated.' \