mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-01-11 09:19:40 +00:00
parent
beb15ad8ba
commit
98fe44cb73
@ -1732,10 +1732,15 @@ post_add() {
|
||||
}
|
||||
|
||||
deps() {
|
||||
local deps i
|
||||
local builddeps i
|
||||
builddeps="$makedepends"
|
||||
for i in $depends; do
|
||||
[ "$pkgname" = "${i%%[<>=]*}" ] && continue
|
||||
subpackages_has ${i%%[<>=]*} || builddeps="$builddeps $i"
|
||||
done
|
||||
$SUDO_APK add $apk_opt_wait --repository "$abuildrepo" \
|
||||
--virtual .makedepends-$pkgname \
|
||||
$makedepends
|
||||
$builddeps
|
||||
}
|
||||
|
||||
undeps (){
|
||||
|
Loading…
Reference in New Issue
Block a user