New comment by pullmoll on void-packages repository https://github.com/void-linux/void-packages/pull/21409#issuecomment-629487884 Comment: I think putting the symlink into a separate subpackage which is added to `makedepends` only where it's needed should be ok. That is create the symlink in `do_install()` and add a subpackage: ``` ncurses-libtinfo_package() { short_desc+=" - libtinfo.so symlink" depends="ncurses-libs-${version}_${revision}" pkg_install() { vmove usr/lib/libtinfo.so } } ``` I did not test this but just wrote it down as I think it should be.