diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-02-25 02:40:25 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-25 04:55:05 -0300 |
commit | 762b9fd601983d8a6e6a60692158f3f22b1b60fe (patch) | |
tree | 5918dd2d561f44dbae7956ed4910edc430680abf /testing/nut | |
parent | a4297a0066bc597be544eddf6b932e3d1ab7ec1b (diff) | |
download | aports-762b9fd601983d8a6e6a60692158f3f22b1b60fe.tar.bz2 aports-762b9fd601983d8a6e6a60692158f3f22b1b60fe.tar.xz |
main/ncurses: fix automatic dependency due to symlinks
The -libs subpackage depended on ncurses-terminfo when it shouldn't
because when moving $pkgdir/usr/lib also moved /usr/lib/terminfo which
is a symlink to /usr/share/terminfo which is part of ncurses-terminfo
and thus a dependency would be automatically added by the
prepare_symlink() function from APKBUILD.
So make the libs() function grab only actual libraries by matching
/usr/lib/*.so.* (this does not match libraries meant for -dev which
would be *.so) so /usr/lib/terminfo isn't caught up.
Also make the terminfo() function move /usr/lib/terminfo to it.
In the meantime also do other cleanup like removing unnecessary 'cd
"$builddir"' declarations and make libs() depend on the same
$pkgver-r$pkgrel of the ncurses-terminfo-base.
Diffstat (limited to 'testing/nut')
0 files changed, 0 insertions, 0 deletions