hooks/prepare-32bit: convert -devel pkgs to 32bit to have proper rdeps.
This commit is contained in:
parent
70208ab38d
commit
cdc60029eb
1 changed files with 5 additions and 0 deletions
|
@ -99,6 +99,11 @@ hook() {
|
|||
else
|
||||
pkgv="$($XBPS_UHELPER_CMD getpkgdepversion ${f})"
|
||||
fi
|
||||
# If dependency is a development pkg switch it to 32bit.
|
||||
if [[ $pkgn =~ '-devel' ]]; then
|
||||
printf "${pkgn}-32bit${pkgv} " >> ${destdir32}/rdeps
|
||||
continue
|
||||
fi
|
||||
# If dependency is noarch do not change it to 32bit.
|
||||
_arch=$($XBPS_QUERY_CMD -R --property=architecture "$f")
|
||||
if [ "${_arch}" = "noarch" ]; then
|
||||
|
|
Loading…
Reference in a new issue