diff options
author | Victor Ostorga <vostorga@gentoo.org> | 2009-07-29 22:45:23 +0000 |
---|---|---|
committer | Victor Ostorga <vostorga@gentoo.org> | 2009-07-29 22:45:23 +0000 |
commit | 90c2caecd13017657336a2470376b3a54ab442dd (patch) | |
tree | 2ddc8630a592111cd53a96fa4959b3d60872601e /dev-libs/shhopt | |
parent | Version bump. Remove old. (diff) | |
download | gentoo-2-90c2caecd13017657336a2470376b3a54ab442dd.tar.gz gentoo-2-90c2caecd13017657336a2470376b3a54ab442dd.tar.bz2 gentoo-2-90c2caecd13017657336a2470376b3a54ab442dd.zip |
Respecting CC variable, closes bug #243944
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'dev-libs/shhopt')
-rw-r--r-- | dev-libs/shhopt/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/shhopt/shhopt-1.1.7-r2.ebuild | 7 | ||||
-rw-r--r-- | dev-libs/shhopt/shhopt-1.1.7.ebuild | 6 |
3 files changed, 15 insertions, 4 deletions
diff --git a/dev-libs/shhopt/ChangeLog b/dev-libs/shhopt/ChangeLog index ee0773e216de..002246bf4ac5 100644 --- a/dev-libs/shhopt/ChangeLog +++ b/dev-libs/shhopt/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/shhopt # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/shhopt/ChangeLog,v 1.13 2009/03/22 12:43:03 jmbsvicetto Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/shhopt/ChangeLog,v 1.14 2009/07/29 22:45:23 vostorga Exp $ + + 29 Jul 2009; Víctor Ostorga <vostorga@gentoo.org> shhopt-1.1.7.ebuild, + shhopt-1.1.7-r2.ebuild: + Respecting CC variable, closes bug #243944 22 Mar 2009; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> metadata.xml: diff --git a/dev-libs/shhopt/shhopt-1.1.7-r2.ebuild b/dev-libs/shhopt/shhopt-1.1.7-r2.ebuild index 3f74403b75e6..be3a6f5a65e2 100644 --- a/dev-libs/shhopt/shhopt-1.1.7-r2.ebuild +++ b/dev-libs/shhopt/shhopt-1.1.7-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/shhopt/shhopt-1.1.7-r2.ebuild,v 1.5 2009/03/22 12:43:03 jmbsvicetto Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/shhopt/shhopt-1.1.7-r2.ebuild,v 1.6 2009/07/29 22:45:23 vostorga Exp $ inherit eutils @@ -22,6 +22,11 @@ src_unpack() { epatch "${FILESDIR}"/${P}-build.patch } +src_compile() { + emake CC=$(tc-getCC) || die +} + + src_install() { dolib.a libshhopt.a || die ln -s libshhopt.so.${PV} libshhopt.so diff --git a/dev-libs/shhopt/shhopt-1.1.7.ebuild b/dev-libs/shhopt/shhopt-1.1.7.ebuild index 10364f9c0327..81d7b1b6b4ee 100644 --- a/dev-libs/shhopt/shhopt-1.1.7.ebuild +++ b/dev-libs/shhopt/shhopt-1.1.7.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/shhopt/shhopt-1.1.7.ebuild,v 1.6 2009/03/22 12:43:03 jmbsvicetto Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/shhopt/shhopt-1.1.7.ebuild,v 1.7 2009/07/29 22:45:23 vostorga Exp $ + +inherit toolchain-funcs DESCRIPTION="library for parsing command line options" SRC_URI="http://shh.thathost.com/pub-unix/files/${P}.tar.gz" @@ -15,7 +17,7 @@ DEPEND="" RDEPEND="" src_compile() { - emake || die + emake CC=$(tc-getCC) || die } src_install () { |