xbps-src: use "virtual?" keyword to declare virtual runtime dependencies.

The syntax "pkg?vpkg" can be used in hostmakedepends, makedepends and depends;
but the "virtual" keyword can be declared specifically for runtime dependencies
(depends).
This commit is contained in:
Juan RP 2014-08-17 19:21:25 +02:00
parent b4483f25c7
commit 9d50c2fb05
3 changed files with 13 additions and 2 deletions

View file

@ -156,6 +156,7 @@ hook() {
if [ -n "$run_depends" ]; then
echo "$run_depends" > ${PKGDESTDIR}/rdeps
sed 's,virtual?,,g' -i ${PKGDESTDIR}/rdeps
fi
if [ -n "${sorequires}" ]; then
echo "${sorequires}" > ${PKGDESTDIR}/shlib-requires