diff options
Diffstat (limited to 'sys-apps/dchroot')
-rw-r--r-- | sys-apps/dchroot/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/dchroot/dchroot-0.12.1.ebuild | 12 |
2 files changed, 15 insertions, 4 deletions
diff --git a/sys-apps/dchroot/ChangeLog b/sys-apps/dchroot/ChangeLog index 7505bd98db3f..78148505c0f3 100644 --- a/sys-apps/dchroot/ChangeLog +++ b/sys-apps/dchroot/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/dchroot -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/dchroot/ChangeLog,v 1.4 2007/07/08 21:37:19 phreak Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dchroot/ChangeLog,v 1.5 2009/11/18 16:58:35 vostorga Exp $ + + 18 Nov 2009; Víctor Ostorga <vostorga@gentoo.org> dchroot-0.12.1.ebuild: + Respecting CC variable, respecting LDFLAGS, bug #293575 *dchroot-0.12.1 (08 Jul 2007) diff --git a/sys-apps/dchroot/dchroot-0.12.1.ebuild b/sys-apps/dchroot/dchroot-0.12.1.ebuild index b3f6b816127a..181a56992b61 100644 --- a/sys-apps/dchroot/dchroot-0.12.1.ebuild +++ b/sys-apps/dchroot/dchroot-0.12.1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/dchroot/dchroot-0.12.1.ebuild,v 1.1 2007/07/08 21:37:19 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dchroot/dchroot-0.12.1.ebuild,v 1.2 2009/11/18 16:58:35 vostorga Exp $ + +inherit toolchain-funcs DESCRIPTION="Utility for managing chroots for non-root users" HOMEPAGE="http://packages.debian.org/unstable/admin/dchroot" @@ -20,9 +22,15 @@ src_unpack() { sed -i \ -e '/^all:/s:$: docs:' \ -e '/^CFLAGS/s:-O2:@CFLAGS@:' \ + -e '/@CFLAGS@/ s:@CFLAGS@:@CFLAGS@ @LDFLAGS@:' \ Makefile.in || die "sed failed" } +src_compile() { + econf + emake CC="$(tc-getCC)" || die +} + src_install() { einstall || die dodoc README TODO |