Lines 7-13
PYTHON_COMPAT=( python3_{8..10} )
Link Here
|
7 |
# NEED_BOOTSTRAP is for developers to quickly generate a tarball |
7 |
# NEED_BOOTSTRAP is for developers to quickly generate a tarball |
8 |
# for publishing to the tree. |
8 |
# for publishing to the tree. |
9 |
NEED_BOOTSTRAP="no" |
9 |
NEED_BOOTSTRAP="no" |
10 |
inherit multibuild multilib python-any-r1 toolchain-funcs multilib-minimal |
10 |
inherit eapi8-dosym multibuild multilib python-any-r1 toolchain-funcs multilib-minimal |
11 |
DESCRIPTION="Extended crypt library for descrypt, md5crypt, bcrypt, and others" |
11 |
DESCRIPTION="Extended crypt library for descrypt, md5crypt, bcrypt, and others" |
12 |
HOMEPAGE="https://github.com/besser82/libxcrypt" |
12 |
HOMEPAGE="https://github.com/besser82/libxcrypt" |
Lines 258-264
multilib_src_install() {
Link Here
|
258 |
for lib_file in "${D}"$(get_xclibdir)/*$(get_libname); do |
258 |
for lib_file in "${D}"$(get_xclibdir)/*$(get_libname); do |
259 |
lib_file_basename="$(basename "${lib_file}")" |
259 |
lib_file_basename="$(basename "${lib_file}")" |
260 |
lib_file_target="$(basename "$(readlink -f "${lib_file}")")" |
260 |
lib_file_target="$(basename "$(readlink -f "${lib_file}")")" |
261 |
dosym "../../$(get_libdir)/${lib_file_target}" "/usr/$(get_xclibdir)/${lib_file_basename}" |
261 |
|
|
|
262 |
# We already know we're in split-usr (checked above) |
263 |
# See bug #843209 (also worth keeping in mind bug #802222 too) |
264 |
local libdir_no_prefix=$(get_xclibdir) |
265 |
libdir_no_prefix=${libdir_no_prefix#${EPREFIX}} |
266 |
libdir_no_prefix=${libdir_no_prefix%/usr} |
267 |
dosym8 -r "/$(get_libdir)/${lib_file_target}" "/usr/${libdir_no_prefix}/${lib_file_basename}" |
262 |
done |
268 |
done |
263 |
rm "${D}"$(get_xclibdir)/*$(get_libname) || die "Removing symlinks in incorrect location failed" |
269 |
rm "${D}"$(get_xclibdir)/*$(get_libname) || die "Removing symlinks in incorrect location failed" |
Lines 268-271
multilib_src_install() {
Link Here
|
268 |
;; |
274 |
;; |
269 |
*) die "Unexpected MULTIBUILD_ID: ${MULTIBUILD_ID}";; |
275 |
*) die "Unexpected MULTIBUILD_ID: ${MULTIBUILD_ID}";; |
270 |
esac |
276 |
esac |
271 |
} |
277 |
} |