| Summary: | sys-libs/ncurses needs is-tc-static fix | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Alan Hourihane <alanh> |
| Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | FreeMiNT | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Actually, it's a little more complex. Will update. Changed to this...
multilib_src_install() {
local target lib
for target in "${NCURSES_TARGETS[@]}" ; do
if tc-is-static-only ; then
emake -C "${BUILD_DIR}/${target}" DESTDIR="${D}" install
else
cd "${BUILD_DIR}/${target}/lib" || die
for lib in *$(get_libname 5.9) ; do
newlib.so "${lib}" "${lib%%.9}"
done
fi
done
}
I don't think that will work, as on Darwin get_libname 5.9 would return .5.9.dylib (iso .so.5.9). I'm not changing anything related to get_libname, I'm only adding the code...
if tc-is-static-only ; then
emake -C "${BUILD_DIR}/${target}" DESTDIR="${D}" install
else
....
if
NOTE: this is only for ncurses 5.9, I think ncurses 6.0 has changed, which I'm building now.
please write a proper patch & send it via a GH PR for us to review/merge m68k-mint had to be dropped |
The multicode here.... multilib_src_install() { local target lib for target in "${NCURSES_TARGETS[@]}" ; do cd "${BUILD_DIR}/${target}/lib" || die for lib in *$(get_libname 5.9) ; do newlib.so "${lib}" "${lib%%.9}" done done } should be... multilib_src_install() { if ! tc-is-static-only ; then local target lib for target in "${NCURSES_TARGETS[@]}" ; do cd "${BUILD_DIR}/${target}/lib" || die for lib in *$(get_libname 5.9) ; do newlib.so "${lib}" "${lib%%.9}" done done fi }