diff options
Diffstat (limited to 'sys-libs/musl/musl-9999.ebuild')
-rw-r--r-- | sys-libs/musl/musl-9999.ebuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild index f7c9ef03dd2e..8de636cd7a78 100644 --- a/sys-libs/musl/musl-9999.ebuild +++ b/sys-libs/musl/musl-9999.ebuild @@ -78,16 +78,16 @@ src_configure() { } src_compile() { - emake include/bits/alltypes.h || die + emake include/bits/alltypes.h just_headers && return 0 - emake || die + emake } src_install() { local target="install" just_headers && target="install-headers" - emake DESTDIR="${D}" ${target} || die + emake DESTDIR="${D}" ${target} just_headers && return 0 # musl provides ldd via a sym link to its ld.so @@ -106,13 +106,13 @@ src_install() { ppc) arch="powerpc";; x86) arch="i386";; esac - cp "${FILESDIR}"/ldconfig.in "${T}" - sed -e "s|@@ARCH@@|${arch}|" "${T}"/ldconfig.in > "${T}"/ldconfig + cp "${FILESDIR}"/ldconfig.in "${T}" || die + sed -e "s|@@ARCH@@|${arch}|" "${T}"/ldconfig.in > "${T}"/ldconfig || die into / dosbin "${T}"/ldconfig into /usr dobin "${FILESDIR}"/getent - echo 'LDPATH="include ld.so.conf.d/*.conf"' > "${T}"/00musl + echo 'LDPATH="include ld.so.conf.d/*.conf"' > "${T}"/00musl || die doenvd "${T}"/00musl || die fi } |