diff options
author | Hanno Böck <hanno@gentoo.org> | 2011-10-07 20:52:12 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2011-10-07 20:52:12 +0000 |
commit | f7e59f074c9593fad006346b7092eca283edff92 (patch) | |
tree | b32edbc8bbb84ee91188bbd8f060d188d17f1ff9 /app-laptop/hdaps-gl | |
parent | Restore previous version wrt #371903 (diff) | |
download | gentoo-2-f7e59f074c9593fad006346b7092eca283edff92.tar.gz gentoo-2-f7e59f074c9593fad006346b7092eca283edff92.tar.bz2 gentoo-2-f7e59f074c9593fad006346b7092eca283edff92.zip |
hdaps-gl respect CC and EAPI 4
(Portage version: 2.1.10.23/cvs/Linux x86_64)
Diffstat (limited to 'app-laptop/hdaps-gl')
-rw-r--r-- | app-laptop/hdaps-gl/ChangeLog | 5 | ||||
-rw-r--r-- | app-laptop/hdaps-gl/hdaps-gl-0.0.5.ebuild | 16 |
2 files changed, 13 insertions, 8 deletions
diff --git a/app-laptop/hdaps-gl/ChangeLog b/app-laptop/hdaps-gl/ChangeLog index 5ea3e660ca77..ac63199beb1d 100644 --- a/app-laptop/hdaps-gl/ChangeLog +++ b/app-laptop/hdaps-gl/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-laptop/hdaps-gl # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/hdaps-gl/ChangeLog,v 1.3 2011/10/02 20:44:52 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/hdaps-gl/ChangeLog,v 1.4 2011/10/07 20:52:12 hanno Exp $ + + 07 Oct 2011; Hanno Boeck <hanno@gentoo.org> hdaps-gl-0.0.5.ebuild: + Port to EAPI 4, respect CC. 02 Oct 2011; Hanno Boeck <hanno@gentoo.org> hdaps-gl-0.0.5.ebuild: Add freeglut dependency (fix #318539). diff --git a/app-laptop/hdaps-gl/hdaps-gl-0.0.5.ebuild b/app-laptop/hdaps-gl/hdaps-gl-0.0.5.ebuild index cbb00de3b22e..6074616abbf9 100644 --- a/app-laptop/hdaps-gl/hdaps-gl-0.0.5.ebuild +++ b/app-laptop/hdaps-gl/hdaps-gl-0.0.5.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/hdaps-gl/hdaps-gl-0.0.5.ebuild,v 1.3 2011/10/02 20:44:52 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-laptop/hdaps-gl/hdaps-gl-0.0.5.ebuild,v 1.4 2011/10/07 20:52:12 hanno Exp $ -inherit eutils +EAPI=4 + +inherit eutils toolchain-funcs DESCRIPTION="OpenGL visualization for HDAPS data" HOMEPAGE="http://hdaps.sourceforge.net" @@ -17,14 +19,14 @@ DEPEND="virtual/opengl media-libs/freeglut" RDEPEND="${DEPEND}" -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${P}-as-needed.diff" || die +src_prepare() { + epatch "${FILESDIR}/${P}-as-needed.diff" } src_compile() { - emake CFLAGS="${CFLAGS} ${LDFLAGS}" || die "make failed" + emake CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS} ${LDFLAGS}" \ + || die "emake failed" } src_install() { |