summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-08-15 23:47:26 +0000
committerMike Frysinger <vapier@gentoo.org>2009-08-15 23:47:26 +0000
commit1df1df6c3b8c1a73303ae9e675a25443659aa0d7 (patch)
treee7b657a8f2a332160239dc816ea88984b41f4d01 /sys-apps
parentfixed bash completion support (diff)
downloadgentoo-2-1df1df6c3b8c1a73303ae9e675a25443659aa0d7.tar.gz
gentoo-2-1df1df6c3b8c1a73303ae9e675a25443659aa0d7.tar.bz2
gentoo-2-1df1df6c3b8c1a73303ae9e675a25443659aa0d7.zip
Respect CC/CPPFLAGS env vars #280847 by Chris Slycord.
(Portage version: 2.2_rc38/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/slocate/ChangeLog5
-rw-r--r--sys-apps/slocate/slocate-3.1-r2.ebuild9
2 files changed, 9 insertions, 5 deletions
diff --git a/sys-apps/slocate/ChangeLog b/sys-apps/slocate/ChangeLog
index c7f8dccd7d62..33b38144dcce 100644
--- a/sys-apps/slocate/ChangeLog
+++ b/sys-apps/slocate/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/slocate
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/slocate/ChangeLog,v 1.85 2009/02/07 07:45:14 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/slocate/ChangeLog,v 1.86 2009/08/15 23:47:26 vapier Exp $
+
+ 15 Aug 2009; Mike Frysinger <vapier@gentoo.org> slocate-3.1-r2.ebuild:
+ Respect CC/CPPFLAGS env vars #280847 by Chris Slycord.
07 Feb 2009; Mike Frysinger <vapier@gentoo.org>
files/slocate-3.1-cron2.patch:
diff --git a/sys-apps/slocate/slocate-3.1-r2.ebuild b/sys-apps/slocate/slocate-3.1-r2.ebuild
index 766944f9ba82..8c8b1e6e4381 100644
--- a/sys-apps/slocate/slocate-3.1-r2.ebuild
+++ b/sys-apps/slocate/slocate-3.1-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2008 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/slocate/slocate-3.1-r2.ebuild,v 1.1 2008/08/19 01:11:18 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/slocate/slocate-3.1-r2.ebuild,v 1.2 2009/08/15 23:47:26 vapier Exp $
-inherit flag-o-matic eutils
+inherit flag-o-matic eutils toolchain-funcs
DESCRIPTION="Secure way to index and quickly search for files on your system (drop-in replacement for 'locate')"
HOMEPAGE="http://slocate.trakker.ca/"
@@ -40,7 +40,8 @@ src_unpack() {
src_compile() {
filter-lfs-flags
- emake -C src || die
+ CFLAGS="${CFLAGS} ${CPPFLAGS}" \
+ emake CC="$(tc-getCC)" -C src || die
}
src_install() {