summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gentoo.org>2008-11-20 01:09:42 +0000
committerTiago Cunha <tcunha@gentoo.org>2008-11-20 01:09:42 +0000
commit2af816eb3bbb900e6a20dc517f6ff0a4c189f899 (patch)
treeecc0a69e0ec73baa28d90a7c5df76bfd334651b7
parentVersion bump #247318 by Denis Cheng. (diff)
downloadgentoo-2-2af816eb3bbb900e6a20dc517f6ff0a4c189f899.tar.gz
gentoo-2-2af816eb3bbb900e6a20dc517f6ff0a4c189f899.tar.bz2
gentoo-2-2af816eb3bbb900e6a20dc517f6ff0a4c189f899.zip
- Fix LICENSE.
- Fix hardcoded CC (closes bug 243990). Thanks flameeyes - Quoting. (Portage version: 2.1.4.5)
-rw-r--r--dev-util/cutils/ChangeLog7
-rw-r--r--dev-util/cutils/cutils-1.6-r2.ebuild22
2 files changed, 17 insertions, 12 deletions
diff --git a/dev-util/cutils/ChangeLog b/dev-util/cutils/ChangeLog
index 88dc46b32bdf..11fcba8185a7 100644
--- a/dev-util/cutils/ChangeLog
+++ b/dev-util/cutils/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/cutils
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cutils/ChangeLog,v 1.21 2008/11/20 00:33:59 tcunha Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cutils/ChangeLog,v 1.22 2008/11/20 01:09:42 tcunha Exp $
+
+ 20 Nov 2008; Tiago Cunha <tcunha@gentoo.org> cutils-1.6-r2.ebuild:
+ - Fix LICENSE.
+ - Fix hardcoded CC (closes bug 243990). Thanks flameeyes
+ - Quoting.
20 Nov 2008; Tiago Cunha <tcunha@gentoo.org> metadata.xml:
I'll be maintaining this now
diff --git a/dev-util/cutils/cutils-1.6-r2.ebuild b/dev-util/cutils/cutils-1.6-r2.ebuild
index 751e46a67026..2d37f44182b0 100644
--- a/dev-util/cutils/cutils-1.6-r2.ebuild
+++ b/dev-util/cutils/cutils-1.6-r2.ebuild
@@ -1,14 +1,14 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cutils/cutils-1.6-r2.ebuild,v 1.6 2007/03/05 03:40:57 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cutils/cutils-1.6-r2.ebuild,v 1.7 2008/11/20 01:09:42 tcunha Exp $
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="C language utilities"
HOMEPAGE="http://www.sigala.it/sandro/software.php#cutils"
SRC_URI="http://www.sigala.it/sandro/files/${P}.tar.gz"
-LICENSE="as-is"
+LICENSE="BSD-2"
SLOT="0"
KEYWORDS="ppc sparc x86 ~amd64"
IUSE=""
@@ -19,13 +19,13 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
- epatch ${FILESDIR}/${P}-r1-gentoo.diff
- cd ${S}/src/cdecl
+ epatch "${FILESDIR}"/${P}-r1-gentoo.diff
+ cd "${S}"/src/cdecl
mv cdecl.1 cutils-cdecl.1
- for file in ${S}/doc/*; do
- sed -e 's/cdecl/cutils-cdecl/g' -i ${file}
+ for file in "${S}"/doc/*; do
+ sed -e 's/cdecl/cutils-cdecl/g' -i "${file}"
done
- sed -e 's/Xr cdecl/Xr cutils-cdecl/' -i ${S}/src/cundecl/cundecl.1
+ sed -e 's/Xr cdecl/Xr cutils-cdecl/' -i "${S}"/src/cundecl/cundecl.1
}
src_compile() {
@@ -35,11 +35,11 @@ src_compile() {
--infodir=${DESTTREE}/share/info \
--mandir=${DESTTREE}/share/man || die
- emake -j1 || die
+ emake CC="$(tc-getCC)" -j1 || die
}
src_install () {
- make DESTDIR=${D} install || die
+ make DESTDIR="${D}" install || die
dodoc COPYRIGHT CREDITS HISTORY INSTALL NEWS README
}