summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-12-07 16:00:03 +0000
committerMike Frysinger <vapier@gentoo.org>2011-12-07 16:00:03 +0000
commitc90194c1984afcaba3f291ec5158d626a3eb0726 (patch)
tree92c0dc558a19ee97e5056d1ae2f54eab8f0286a7 /app-text/tree
parentExplicitely link against -lm for function floor as reported by Jeremy Olexa. (diff)
downloadgentoo-2-c90194c1984afcaba3f291ec5158d626a3eb0726.tar.gz
gentoo-2-c90194c1984afcaba3f291ec5158d626a3eb0726.tar.bz2
gentoo-2-c90194c1984afcaba3f291ec5158d626a3eb0726.zip
Respect env CPPFLAGS settings.
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'app-text/tree')
-rw-r--r--app-text/tree/ChangeLog5
-rw-r--r--app-text/tree/tree-1.6.0.ebuild6
2 files changed, 7 insertions, 4 deletions
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 <vapier@gentoo.org> tree-1.6.0.ebuild:
+ Respect env CPPFLAGS settings.
17 Nov 2011; Michael Sterrett <mr_bones_@gentoo.org> 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)"
}