summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2009-11-18 16:58:35 +0000
committerVictor Ostorga <vostorga@gentoo.org>2009-11-18 16:58:35 +0000
commit5e6a6fa5539e3fb8c3a6618f014db710cd666f61 (patch)
tree895419abb8d87b90091d5bd17b40362ca0e45a09
parentNon-maintainer commit. Fix building with _FORTIFY_SOURCE=2 and recent gnutls ... (diff)
downloadgentoo-2-5e6a6fa5539e3fb8c3a6618f014db710cd666f61.tar.gz
gentoo-2-5e6a6fa5539e3fb8c3a6618f014db710cd666f61.tar.bz2
gentoo-2-5e6a6fa5539e3fb8c3a6618f014db710cd666f61.zip
Respecting CC variable, respecting LDFLAGS, bug #293575
(Portage version: 2.1.6.13/cvs/Linux i686)
-rw-r--r--sys-apps/dchroot/ChangeLog7
-rw-r--r--sys-apps/dchroot/dchroot-0.12.1.ebuild12
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