summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-25 18:23:47 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-25 18:23:47 (EDT)
commit48518a660369997ec0d92f4520a89c343258664f (patch)
tree7417c488244a064d46e48d611f63476c9204e027 /src
parent58ac6317842e2f113912e60b895fdb722302e4b8 (diff)
parente83b58d51eca2bf082cea326e712570aa51c4ad1 (diff)
Merge branch 'feature/reduce-plat-in-deps'.
Diffstat (limited to 'src')
-rw-r--r--src/ob-gencontrol.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ob-gencontrol.sh b/src/ob-gencontrol.sh
index b85ec96..859e47a 100644
--- a/src/ob-gencontrol.sh
+++ b/src/ob-gencontrol.sh
@@ -113,12 +113,12 @@ EOF
;;
'Depends'|'Recommends'|'Suggests'|'Pre-Depends')
value="$(ob_reduce_deps -a "${OPK_HOST_ARCH}" \
- "${value}")"
+ -P "${OPK_HOST_PLAT}" "${value}")"
value="$(ob_substvars "${value}")"
;;
'Conflicts'|'Provides'|'Replaces')
- value="$(ob_reduce_deps -a "${OPK_HOST_ARCH}" -u \
- "${value}")"
+ value="$(ob_reduce_deps -a "${OPK_HOST_ARCH}" \
+ -P "${OPK_HOST_PLAT}" -u "${value}")"
value="$(ob_substvars "${value}")"
;;
esac