Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 502076 - sys-apps/install-xattr - respect CC
Summary: sys-apps/install-xattr - respect CC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: tc-directly 501534
  Show dependency tree
 
Reported: 2014-02-22 03:03 UTC by Jeroen Roovers (RETIRED)
Modified: 2014-02-22 15:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2014-02-22 03:03:43 UTC
- Unset unneeded IUSE, DEPEND, RDEPEND.
 - Set CC.

Index: install-xattr-0.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/install-xattr/install-xattr-0.1.ebuild,v
retrieving revision 1.3
diff -u -B -r1.3 install-xattr-0.1.ebuild
--- install-xattr-0.1.ebuild    17 Feb 2014 18:25:18 -0000      1.3
+++ install-xattr-0.1.ebuild    22 Feb 2014 03:02:48 -0000
@@ -3,6 +3,7 @@
 # $Header: /var/cvsroot/gentoo-x86/sys-apps/install-xattr/install-xattr-0.1.ebuild,v 1.3 2014/02/17 18:25:18 blueness Exp $
 
 EAPI=5
+inherit toolchain-funcs
 
 DESCRIPTION="Wrapper to coreutil's install to preserve Filesystem Extended Attributes."
 HOMEPAGE="http://dev.gentoo.org/~blueness/install-xattr/"
@@ -11,13 +12,13 @@
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
 
 S=${WORKDIR}/${PN}
 
+src_prepare() {
+       tc-export CC
+}
+
 # We need to fix how tests are done
 src_test() {
        true
Comment 1 Anthony Basile gentoo-dev 2014-02-22 15:37:37 UTC
Thanks fixed.  I forgot I needed this when I switched from autotools to a bare Makefile.  Thanks jef.