diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-11-10 21:26:46 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-11-10 21:26:46 +0000 |
commit | b1c94ddad8856b9e08938f3e1e12010f797f558a (patch) | |
tree | 25db48ce19535b4bcdd9babd955a0667cd400c82 /sys-libs/com_err | |
parent | Version bump upstream (diff) | |
download | gentoo-2-b1c94ddad8856b9e08938f3e1e12010f797f558a.tar.gz gentoo-2-b1c94ddad8856b9e08938f3e1e12010f797f558a.tar.bz2 gentoo-2-b1c94ddad8856b9e08938f3e1e12010f797f558a.zip |
Move exporting of vars in src_compile() and src_install() to work around portage env bug, similar to sys-fs/e2fsprogs-1.38.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'sys-libs/com_err')
-rw-r--r-- | sys-libs/com_err/ChangeLog | 6 | ||||
-rw-r--r-- | sys-libs/com_err/com_err-1.38.ebuild | 11 |
2 files changed, 13 insertions, 4 deletions
diff --git a/sys-libs/com_err/ChangeLog b/sys-libs/com_err/ChangeLog index de98cc2cb05d..25420cc5204f 100644 --- a/sys-libs/com_err/ChangeLog +++ b/sys-libs/com_err/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-libs/com_err # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/ChangeLog,v 1.20 2005/09/08 17:02:49 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/ChangeLog,v 1.21 2005/11/10 21:22:09 flameeyes Exp $ + + 10 Nov 2005; Diego Pettenò <flameeyes@gentoo.org> com_err-1.38.ebuild: + Move exporting of vars in src_compile() and src_install() to work around + portage env bug, similar to sys-fs/e2fsprogs-1.38. 08 Sep 2005; Aaron Walker <ka0ttic@gentoo.org> com_err-1.38.ebuild: Stable on mips. diff --git a/sys-libs/com_err/com_err-1.38.ebuild b/sys-libs/com_err/com_err-1.38.ebuild index 5f426c6140c1..93125668a5e0 100644 --- a/sys-libs/com_err/com_err-1.38.ebuild +++ b/sys-libs/com_err/com_err-1.38.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/com_err-1.38.ebuild,v 1.15 2005/10/13 13:02:30 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/com_err/com_err-1.38.ebuild,v 1.16 2005/11/10 21:22:09 flameeyes Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -22,12 +22,13 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${PN}-1.37-makefile.patch +} + +src_compile() { export LDCONFIG=/bin/true export CC=$(tc-getCC) export STRIP=/bin/true -} -src_compile() { local libtype case ${USERLAND} in Darwin) libtype=bsd;; @@ -47,6 +48,10 @@ src_test() { } src_install() { + export LDCONFIG=/bin/true + export CC=$(tc-getCC) + export STRIP=/bin/true + make -C lib/et DESTDIR="${D}" install || die dosed '/^ET_DIR=/s:=.*:=/usr/share/et:' /usr/bin/compile_et dosym et/com_err.h /usr/include/com_err.h |