diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-03 06:45:04 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-03 06:45:04 +0000 |
commit | 6582be1d0b97e7e8c2e461cbbae64d6865175f49 (patch) | |
tree | f87921408a964f2c812a649c1ac0ad8f7ea239bc /abuild.in | |
parent | c70dbf84953826c7b39f3991864dfffd7a132a57 (diff) | |
download | abuild-6582be1d0b97e7e8c2e461cbbae64d6865175f49.tar.gz abuild-6582be1d0b97e7e8c2e461cbbae64d6865175f49.tar.bz2 abuild-6582be1d0b97e7e8c2e461cbbae64d6865175f49.tar.xz abuild-6582be1d0b97e7e8c2e461cbbae64d6865175f49.zip |
abuild: pull only in needed dependencies for -dev packages
ref #4109
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -1020,7 +1020,6 @@ trace_apk_deps() { # symlink targets for i in $(sort -u "$dir"/.symlinks-needs 2>/dev/null); do - msg " added $i (symlink target)" autodeps="$autodeps $i" done @@ -1146,7 +1145,8 @@ scan_symlink_targets() { while read symlink target; do if [ -e "${symlink%/*}"/"$target" ]; then local d="${symfile%/.symlinks}" - echo "$name" >> "$d"/.symlinks-needs + echo "$name=$pkgver-r$pkgrel" \ + >> "$d"/.symlinks-needs fi done < "$symfile" done @@ -1344,13 +1344,9 @@ dbg() { # predefined splitfunc dev default_dev() { local i= j= - depends="$pkgname=$pkgver-r$pkgrel $depends_dev" + depends="" pkgdesc="$pkgdesc (development files)" - for i in $origsubpackages; do - [ "${i%:*}" = "$subpkgname" ] || depends="$depends ${i%:*}=$pkgver-r$pkgrel" - done - cd "$pkgdir" || return 0 local libdirs=usr/ [ -d lib/ ] && libdirs="lib/ $libdirs" |