From c90194c1984afcaba3f291ec5158d626a3eb0726 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 7 Dec 2011 16:00:03 +0000 Subject: Respect env CPPFLAGS settings. (Portage version: 2.2.0_alpha79/cvs/Linux x86_64) --- app-text/tree/ChangeLog | 5 ++++- app-text/tree/tree-1.6.0.ebuild | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'app-text/tree') diff --git a/app-text/tree/ChangeLog b/app-text/tree/ChangeLog index af0a8c71e0ea..21183d39e209 100644 --- a/app-text/tree/ChangeLog +++ b/app-text/tree/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-text/tree # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/tree/ChangeLog,v 1.90 2011/11/17 22:23:43 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/tree/ChangeLog,v 1.91 2011/12/07 16:00:03 vapier Exp $ + + 07 Dec 2011; Mike Frysinger tree-1.6.0.ebuild: + Respect env CPPFLAGS settings. 17 Nov 2011; Michael Sterrett tree-1.6.0.ebuild: use bash-completion-r1 diff --git a/app-text/tree/tree-1.6.0.ebuild b/app-text/tree/tree-1.6.0.ebuild index 83579f87e9b6..70dd5925be73 100644 --- a/app-text/tree/tree-1.6.0.ebuild +++ b/app-text/tree/tree-1.6.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/tree/tree-1.6.0.ebuild,v 1.8 2011/11/17 22:23:43 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/tree/tree-1.6.0.ebuild,v 1.9 2011/12/07 16:00:03 vapier Exp $ EAPI=4 inherit toolchain-funcs flag-o-matic bash-completion-r1 @@ -22,10 +22,10 @@ src_prepare() { } src_compile() { - append-cflags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE + append-lfs-flags emake \ CC="$(tc-getCC)" \ - CFLAGS="${CFLAGS}" \ + CFLAGS="${CFLAGS} ${CPPFLAGS}" \ LDFLAGS="${LDFLAGS}" \ XOBJS="$(use elibc_uclibc && echo strverscmp.o)" } -- cgit v1.2.3-65-gdbad