summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-05-23 08:17:28 +0000
committerJustin Lecher <jlec@gentoo.org>2012-05-23 08:17:28 +0000
commit3fe8334f6e62c9321287594ec85ea67a3765e418 (patch)
treefbc1500f9acf1bd2d588432a4de260460fc18597 /dev-ada
parentsci-chemistry/cluster: Move to EAPI=4, respect CFLAGS (diff)
downloadgentoo-2-3fe8334f6e62c9321287594ec85ea67a3765e418.tar.gz
gentoo-2-3fe8334f6e62c9321287594ec85ea67a3765e418.tar.bz2
gentoo-2-3fe8334f6e62c9321287594ec85ea67a3765e418.zip
dev-ada/tash: Respect CC and CFLAGS
(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/tash/ChangeLog8
-rw-r--r--dev-ada/tash/metadata.xml2
-rw-r--r--dev-ada/tash/tash-8.4.1a.ebuild18
3 files changed, 16 insertions, 12 deletions
diff --git a/dev-ada/tash/ChangeLog b/dev-ada/tash/ChangeLog
index 6e24784d814d..b07adc0071a0 100644
--- a/dev-ada/tash/ChangeLog
+++ b/dev-ada/tash/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ada/tash
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/tash/ChangeLog,v 1.6 2009/04/22 14:18:00 george Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/tash/ChangeLog,v 1.7 2012/05/23 08:17:28 jlec Exp $
+
+ 23 May 2012; Justin Lecher <jlec@gentoo.org> tash-8.4.1a.ebuild,
+ metadata.xml:
+ Respect CC and CFLAGS
22 Apr 2009; George Shapovalov <george@gentoo.org> tash-8.4.1a:
fixed .so symlink poiting to WORKDIR (#241738)
diff --git a/dev-ada/tash/metadata.xml b/dev-ada/tash/metadata.xml
index aec150231c3f..263dc4a63e72 100644
--- a/dev-ada/tash/metadata.xml
+++ b/dev-ada/tash/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>ada</herd>
+ <herd>ada</herd>
</pkgmetadata>
diff --git a/dev-ada/tash/tash-8.4.1a.ebuild b/dev-ada/tash/tash-8.4.1a.ebuild
index a41be3c1ea76..e9dc9aed2f24 100644
--- a/dev-ada/tash/tash-8.4.1a.ebuild
+++ b/dev-ada/tash/tash-8.4.1a.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/tash/tash-8.4.1a.ebuild,v 1.7 2009/04/22 14:16:31 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/tash/tash-8.4.1a.ebuild,v 1.8 2012/05/23 08:17:28 jlec Exp $
-inherit gnat
+inherit gnat toolchain-funcs
-DESCRIPTION="Tash provides tcl Ada bindings"
+DESCRIPTION="tcl Ada bindings"
HOMEPAGE="http://tcladashell.sourceforge.net/index.htm"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
@@ -16,16 +16,16 @@ IUSE=""
DEPEND="virtual/ada
=dev-lang/tcl-8.4*
=dev-lang/tk-8.4*"
-
RDEPEND=${DEPEND}
lib_compile() {
- gcc -c -O2 -o obj/tclmacro.o src/tclmacro.c && \
- gcc -c -O2 -o obj/tkmacro.o src/tkmacro.c && \
+ CC=${tc-getCC}
+ ${CC} -c ${CFLAGS} -o obj/tclmacro.o src/tclmacro.c && \
+ ${CC} -c ${CFLAGS} -o obj/tkmacro.o src/tkmacro.c && \
gnatmake -Pbuild_stat || die "building static lib failed"
- gcc -c -O2 -fPIC -o obj_dyn/tclmacro.o src/tclmacro.c && \
- gcc -c -O2 -fPIC -o obj_dyn/tkmacro.o src/tkmacro.c && \
+ ${CC} -c ${CFLAGS} -fPIC -o obj_dyn/tclmacro.o src/tclmacro.c && \
+ ${CC} -c ${CFLAGS} -fPIC -o obj_dyn/tkmacro.o src/tkmacro.c && \
gnatmake -Pbuild_dyn || die "building static lib failed"
}