summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-25 16:44:00 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-25 16:44:00 (EDT)
commite83b58d51eca2bf082cea326e712570aa51c4ad1 (patch)
tree7417c488244a064d46e48d611f63476c9204e027 /src
parentbc0a95fd13bd1d033f02d45e537aa48b6f0de275 (diff)
Reduce platforms in dep fields in ob-gencontrol.
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