Commit 5b8d1709 authored by Natanael Copa's avatar Natanael Copa

abuild: the -dev pckages should depend on all subpackages

parent 1ccf8652
......@@ -569,9 +569,14 @@ mod() {
# predefined splitfunc dev
default_dev() {
local i
depends="$pkgname $depends_dev"
install="$install_dev"
triggers="$triggers_dev"
for i in $origsubpackages; do
[ "${i%:*}" = "$subpkgname" ] || depends="$depends ${i%:*}"
done
cd "$pkgdir" || return 0
for i in usr/include usr/lib/pkgconfig usr/share/aclocal\
usr/share/gettext usr/bin/*-config \
......@@ -1023,6 +1028,7 @@ fi
# If we are handling a sub package then reset subpackages and install
if [ -n "$subpkgname" ]; then
origsubpackages="$subpackages"
subpackages=
install=
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment