summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2008-10-26 15:54:06 +0000
committerAkinori Hattori <hattya@gentoo.org>2008-10-26 15:54:06 +0000
commitb6fc261570e96dff95399ce72337836b4f0853a7 (patch)
tree699f4a3e261687feaf513347501cd140046f51af /app-admin
parentDamn.. this wasnt supposed to be the longdescription... I just copied the wro... (diff)
downloadgentoo-2-b6fc261570e96dff95399ce72337836b4f0853a7.tar.gz
gentoo-2-b6fc261570e96dff95399ce72337836b4f0853a7.tar.bz2
gentoo-2-b6fc261570e96dff95399ce72337836b4f0853a7.zip
call emake with CC and CFLAGS.
(Portage version: 2.1.4.5)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/chrootuid/ChangeLog5
-rw-r--r--app-admin/chrootuid/chrootuid-1.3.ebuild13
2 files changed, 10 insertions, 8 deletions
diff --git a/app-admin/chrootuid/ChangeLog b/app-admin/chrootuid/ChangeLog
index 1ef18b2303a5..99cb1ed97522 100644
--- a/app-admin/chrootuid/ChangeLog
+++ b/app-admin/chrootuid/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/chrootuid
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/chrootuid/ChangeLog,v 1.12 2008/05/11 01:10:43 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/chrootuid/ChangeLog,v 1.13 2008/10/26 15:54:06 hattya Exp $
+
+ 26 Oct 2008; Akinori Hattori <hattya@gentoo.org> chrootuid-1.3.ebuild:
+ call emake with CC and CFLAGS.
11 May 2008; <solar@gentoo.org> chrootuid-1.3.ebuild:
- cross compile fix and keyworded for arm
diff --git a/app-admin/chrootuid/chrootuid-1.3.ebuild b/app-admin/chrootuid/chrootuid-1.3.ebuild
index 92d92ab5c5bc..b2ee3278d5c7 100644
--- a/app-admin/chrootuid/chrootuid-1.3.ebuild
+++ b/app-admin/chrootuid/chrootuid-1.3.ebuild
@@ -1,11 +1,12 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/chrootuid/chrootuid-1.3.ebuild,v 1.13 2008/10/25 21:37:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/chrootuid/chrootuid-1.3.ebuild,v 1.14 2008/10/26 15:54:06 hattya Exp $
inherit toolchain-funcs
+
IUSE=""
-MY_P=${P/-/}
+MY_P="${P/-/}"
DESCRIPTION="run a network service at low privilege level and with restricted file system access"
HOMEPAGE="ftp://ftp.porcupine.org/pub/security/index.html"
@@ -14,13 +15,11 @@ SRC_URI="ftp://ftp.porcupine.org/pub/security/${MY_P}.tar.gz"
LICENSE="BSD"
KEYWORDS="amd64 arm ia64 ppc x86"
SLOT="0"
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
src_compile() {
- tc-export CC
- # Add in our own custom CFLAGS
- sed -i "s/CFLAGS\t=/CFLAGS = ${CFLAGS} #/" Makefile
- emake || die
+
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die
}