summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2009-01-03 14:14:36 +0000
committerChristoph Mende <angelos@gentoo.org>2009-01-03 14:14:36 +0000
commit7e1f28a244818de4ba61af28b46a847251cf55f3 (patch)
tree2b102878678abd96444d97ff87c72f043bfc4cd0 /dev-libs
parentQA: Fixed compilation with --as-needed (bug 246951), respect CC (bug 243706),... (diff)
downloadgentoo-2-7e1f28a244818de4ba61af28b46a847251cf55f3.tar.gz
gentoo-2-7e1f28a244818de4ba61af28b46a847251cf55f3.tar.bz2
gentoo-2-7e1f28a244818de4ba61af28b46a847251cf55f3.zip
QA: Respect CC (bug 243940)
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/mdsplib/ChangeLog7
-rw-r--r--dev-libs/mdsplib/mdsplib-0.11.ebuild20
2 files changed, 14 insertions, 13 deletions
diff --git a/dev-libs/mdsplib/ChangeLog b/dev-libs/mdsplib/ChangeLog
index af98c2d4bfb8..e41435d1e484 100644
--- a/dev-libs/mdsplib/ChangeLog
+++ b/dev-libs/mdsplib/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/mdsplib
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mdsplib/ChangeLog,v 1.4 2007/02/09 02:35:12 flameeyes Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mdsplib/ChangeLog,v 1.5 2009/01/03 14:14:36 angelos Exp $
+
+ 03 Jan 2009; Christoph Mende <angelos@gentoo.org> mdsplib-0.11.ebuild:
+ QA: Respect CC (bug 243940)
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/dev-libs/mdsplib/mdsplib-0.11.ebuild b/dev-libs/mdsplib/mdsplib-0.11.ebuild
index 58b86eacdc4b..7a6b48d67bbe 100644
--- a/dev-libs/mdsplib/mdsplib-0.11.ebuild
+++ b/dev-libs/mdsplib/mdsplib-0.11.ebuild
@@ -1,29 +1,27 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mdsplib/mdsplib-0.11.ebuild,v 1.4 2007/07/12 02:25:35 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mdsplib/mdsplib-0.11.ebuild,v 1.5 2009/01/03 14:14:36 angelos Exp $
+
+inherit toolchain-funcs
DESCRIPTION="METAR Decoder Software Package Library"
HOMEPAGE="http://limulus.net/mdsplib/"
-SRC_URI="http://limulus.net/mdsplib/${P}.tar.gz"
+SRC_URI="http://limulus.net/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc"
IUSE=""
-DEPEND="virtual/libc"
-RDEPEND="virtual/libc"
src_compile() {
- emake -e all || die "make failed"
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" all || die "make failed"
}
src_install() {
insinto /usr/include
insopts -m0644
- newins ${S}/metar.h metar.h
- insinto /usr/lib
- insopts -m0644
- newins ${S}/libmetar.a libmetar.a
+ newins metar.h metar.h
+ dolib.a libmetar.a
dodoc README README.MDSP
- dobin dmetar
+ dobin dmetar || die
}