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:
parent
b4483f25c7
commit
9d50c2fb05
3 changed files with 13 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue