dev-libs/dietlibc: add ln for ARCH -> CHOST

(Portage version: 2.2.0_alpha78/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
This commit is contained in:
Mario Fetka 2011-12-13 20:58:34 +01:00
parent aa1b3b4715
commit 3773c37b3d
3 changed files with 12 additions and 2 deletions

View File

@ -2,6 +2,9 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/dietlibc/ChangeLog,v 1.88 2011/11/20 09:20:49 xarthisius Exp $
13 Dec 2011; Mario Fetka <mario.fetka@gmail.com> dietlibc-9999.ebuild:
add ln for ARCH -> CHOST
*dietlibc-9999 (13 Dec 2011)
13 Dec 2011; Mario Fetka <mario.fetka@gmail.com>

View File

@ -1,3 +1,3 @@
EBUILD dietlibc-9999.ebuild 1639 RMD160 ef3a820031023f0d977d6d322cf6c6d0b44ed298 SHA1 b5762613bf1340ad387af59a0508a82c06776dbf SHA256 868c7fd30aefe436b869cd1418abd27c446316c219df303a67aea434393081c5
MISC ChangeLog 13389 RMD160 f838e518bfe744969c33284556700b298861d5c8 SHA1 6af3b9c2e32376cd131dcb841c69cf87cb3911e6 SHA256 94a2442cf31e41a36a7743422a2a42615ce25b8fb21822c934d9be1186e60baa
EBUILD dietlibc-9999.ebuild 1775 RMD160 6ea8b5da189693ebddc424a1bd4f7102d3f52087 SHA1 3dd0ddea6cdc566bad1ace9f24d46d435e54ec48 SHA256 ba217be300986cb2478b1a1ce314eadf6baedb3509f9866da9cd234baa6c8236
MISC ChangeLog 13490 RMD160 637f6457f5f3edae9ef4f3b690744a9ecb8be0fa SHA1 1dbedc60dbe847c84ea38a2054c7ddc214d20a7f SHA256 fd8235170697fdbce668e217c3eb930e5f6bafff9824f5293d64e89044462ebc
MISC metadata.xml 410 RMD160 063e81d4d38be2fa6f093828b42a0ee3e5b2b582 SHA1 e73d09647dcac3413d7bccb6f1d2a0bc50e60f48 SHA256 3fc38345f9430d71c6369f84fc1b6248bc8aa0ec74cb4ae5b2797fe01cf48721

View File

@ -43,6 +43,10 @@ pkg_setup() {
gcc-specs-pie && append-flags -nopie
}
src_prepare() {
ln -sf bin-${ARCH} bin-${CHOST/-*/}
}
src_compile() {
emake prefix=${DIETHOME} \
CC="$(tc-getCC)" \
@ -57,6 +61,9 @@ src_install() {
install-bin \
install-headers \
|| die "make install failed"
# broken so add a workaround
ln -sf bin-${ARCH} ${DIETHOME}/bin-${CHOST/-*/}
dobin "${D}"${DIETHOME}/bin/* || die "dobin failed"
doman "${D}"${DIETHOME}/man/*/* || die "doman failed"