summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2013-10-12 06:05:17 +0000
committerPatrick Lauer <patrick@gentoo.org>2013-10-12 06:05:17 +0000
commit1abe1c7040a28af303f49c85e1819e655484b2fc (patch)
tree5be2885422740b3d464aaf68093d9a971b9ab645 /dev-lang/tcc
parentFirst attempt at a -9999 ebuild (diff)
downloadgentoo-2-1abe1c7040a28af303f49c85e1819e655484b2fc.tar.gz
gentoo-2-1abe1c7040a28af303f49c85e1819e655484b2fc.tar.bz2
gentoo-2-1abe1c7040a28af303f49c85e1819e655484b2fc.zip
Some cleanups to tcc-9999 configure/make
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-lang/tcc')
-rw-r--r--dev-lang/tcc/ChangeLog5
-rw-r--r--dev-lang/tcc/tcc-9999.ebuild23
2 files changed, 14 insertions, 14 deletions
diff --git a/dev-lang/tcc/ChangeLog b/dev-lang/tcc/ChangeLog
index c89551c1eb9e..01d7f46d537f 100644
--- a/dev-lang/tcc/ChangeLog
+++ b/dev-lang/tcc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/tcc
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcc/ChangeLog,v 1.36 2013/10/12 05:34:29 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcc/ChangeLog,v 1.37 2013/10/12 06:05:17 patrick Exp $
+
+ 12 Oct 2013; Patrick Lauer <patrick@gentoo.org> tcc-9999.ebuild:
+ Some cleanups to tcc-9999 configure/make
*tcc-9999 (12 Oct 2013)
diff --git a/dev-lang/tcc/tcc-9999.ebuild b/dev-lang/tcc/tcc-9999.ebuild
index e0ba1e9d1244..d9ae39b3af40 100644
--- a/dev-lang/tcc/tcc-9999.ebuild
+++ b/dev-lang/tcc/tcc-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcc/tcc-9999.ebuild,v 1.1 2013/10/12 05:34:29 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcc/tcc-9999.ebuild,v 1.2 2013/10/12 06:05:17 patrick Exp $
EAPI="5"
@@ -38,10 +38,14 @@ src_prepare() {
src_configure() {
use test && unset CFLAGS LDFLAGS # Tests run with CC=gcc etc, they will fail hard otherwise
# better fixes welcome, it feels wrong to hack the env like this
- local myopts
- use x86 && myopts="--cpu=x86"
- use amd64 && myopts="--cpu=x86-64"
- ./configure ${myopts} --cc="$(tc-getCC)" # not autotools
+ # not autotools, so call configure directly
+ ./configure --cc="$(tc-getCC)" \
+ --bindir=/usr/bin \
+ --libdir=/usr/lib \
+ --tccdir=tcc \
+ --includedir=/usr/include \
+ --docdir=/usr/share/doc/${PF} \
+ --mandir=/usr/share/man
}
src_compile() {
@@ -49,14 +53,7 @@ src_compile() {
}
src_install() {
- emake \
- DESTDIR="${D}" \
- bindir="${D}"/usr/bin \
- libdir="${D}"/usr/lib \
- tccdir="${D}"/usr/lib/tcc \
- includedir="${D}"/usr/include \
- docdir="${D}"/usr/share/doc/${PF} \
- mandir="${D}"/usr/share/man install
+ emake DESTDIR=${D} install
dodoc Changelog README TODO VERSION
dohtml tcc-doc.html