sys-libs/musl: add TODO comment wrt obtaining arch name
authorAnthony G. Basile <blueness@gentoo.org>
Sun, 5 Jun 2016 00:40:47 +0000 (20:40 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Sun, 5 Jun 2016 00:40:47 +0000 (20:40 -0400)
Package-Manager: portage-2.2.28

sys-libs/musl/musl-9999.ebuild

index bf1ebe9fc0353ccfa1a27fa1143c29dbb030b971..3c6e9c8b6a1f97416ec17c85dfa0268df47869fa 100644 (file)
@@ -102,6 +102,8 @@ src_install() {
        dosym ${sysroot}/lib/${ldso} ${sysroot}/usr/bin/ldd
 
        if [[ ${CATEGORY} != cross-* ]] ; then
+               # TODO: We may be able to simplify this code by obtianing the arch name with
+               # /usr/lib/libc.so 2>&1 | sed -n 's/^.*(\(.*\))$/\1/;1p'
                local target=$(tc-arch) arch
                local endian=$(musl_endian)
                case ${target} in