diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-08 17:39:01 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-08 17:39:01 +0000 |
commit | e132444896a68540fdcb4736afb08a0dbe064d54 (patch) | |
tree | 21ca9f36d6fa63679ddf6eebe6f86de0f329602c /sys-apps/checkpolicy | |
parent | Fix calls to python_mod_optimize() and python_mod_cleanup(). (diff) | |
download | gentoo-2-e132444896a68540fdcb4736afb08a0dbe064d54.tar.gz gentoo-2-e132444896a68540fdcb4736afb08a0dbe064d54.tar.bz2 gentoo-2-e132444896a68540fdcb4736afb08a0dbe064d54.zip |
Respect CC.
(Portage version: 2.2.0_alpha22_p4/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/checkpolicy')
-rw-r--r-- | sys-apps/checkpolicy/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/checkpolicy/checkpolicy-2.0.21.ebuild | 14 |
2 files changed, 12 insertions, 8 deletions
diff --git a/sys-apps/checkpolicy/ChangeLog b/sys-apps/checkpolicy/ChangeLog index ab34e2a8abb4..7aa43b4c5c4d 100644 --- a/sys-apps/checkpolicy/ChangeLog +++ b/sys-apps/checkpolicy/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/checkpolicy # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.53 2011/02/05 11:08:38 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.54 2011/02/08 17:39:01 arfrever Exp $ + + 08 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + checkpolicy-2.0.21.ebuild: + Respect CC. *checkpolicy-2.0.21 (05 Feb 2011) diff --git a/sys-apps/checkpolicy/checkpolicy-2.0.21.ebuild b/sys-apps/checkpolicy/checkpolicy-2.0.21.ebuild index 70a3a4319694..df12545745fa 100644 --- a/sys-apps/checkpolicy/checkpolicy-2.0.21.ebuild +++ b/sys-apps/checkpolicy/checkpolicy-2.0.21.ebuild @@ -1,10 +1,8 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-2.0.21.ebuild,v 1.1 2011/02/05 11:08:38 blueness Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-2.0.21.ebuild,v 1.2 2011/02/08 17:39:01 arfrever Exp $ -IUSE="debug" - -inherit eutils +inherit toolchain-funcs SEPOL_VER="2.0.41" SEMNG_VER="2.0.45" @@ -12,9 +10,11 @@ SEMNG_VER="2.0.45" DESCRIPTION="SELinux policy compiler" HOMEPAGE="http://userspace.selinuxproject.org" SRC_URI="http://userspace.selinuxproject.org/releases/20100525/devel/${P}.tar.gz" + LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="debug" DEPEND=">=sys-libs/libsepol-${SEPOL_VER} >=sys-libs/libsemanage-${SEMNG_VER} @@ -24,13 +24,13 @@ DEPEND=">=sys-libs/libsepol-${SEPOL_VER} RDEPEND=">=sys-libs/libsemanage-${SEMNG_VER}" src_compile() { - emake YACC="bison -y" || die + emake CC="$(tc-getCC)" YACC="bison -y" || die } src_install() { - make DESTDIR="${D}" install + emake DESTDIR="${D}" install || die - if useq debug; then + if use debug; then dobin "${S}/test/dismod" dobin "${S}/test/dispol" fi |