summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-28 05:45:24 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-28 05:45:24 +0000
commit8a14cafe6eaaf0758090bd49e18c47105e5caa03 (patch)
treeb6c6050aeeb4806f90acecc48626c3cc521bfd4c /app-text/7plus
parentFixed libmustux dependency, see bug #49215 (diff)
downloadhistorical-8a14cafe6eaaf0758090bd49e18c47105e5caa03.tar.gz
historical-8a14cafe6eaaf0758090bd49e18c47105e5caa03.tar.bz2
historical-8a14cafe6eaaf0758090bd49e18c47105e5caa03.zip
dont use $CC
Diffstat (limited to 'app-text/7plus')
-rw-r--r--app-text/7plus/7plus-2.25.ebuild16
1 files changed, 9 insertions, 7 deletions
diff --git a/app-text/7plus/7plus-2.25.ebuild b/app-text/7plus/7plus-2.25.ebuild
index a0b3ee1ff537..7a5d64bf1ed5 100644
--- a/app-text/7plus/7plus-2.25.ebuild
+++ b/app-text/7plus/7plus-2.25.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/7plus/7plus-2.25.ebuild,v 1.2 2004/03/12 09:18:39 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/7plus/7plus-2.25.ebuild,v 1.3 2004/04/28 05:44:56 vapier Exp $
+
+inherit gcc
S="${WORKDIR}/7plsrc.${PV//./}"
DESCRIPTION="An encoder for packet radio"
@@ -8,8 +10,8 @@ HOMEPAGE="http://home.t-online.de/home/dg1bbq/7plus.htm"
SRC_URI="http://home.t-online.de/home/dg1bbq/7pl${PV//./}sr.tgz"
LICENSE="7plus"
-KEYWORDS="~x86"
SLOT="0"
+KEYWORDS="~x86"
IUSE=""
DEPEND="sys-apps/sed"
@@ -18,9 +20,9 @@ RDEPEND=""
src_unpack() {
unpack ${A}
cd ${S}
- sed -e "s:CC = gcc:CC = ${CC}:" \
- -e "s:-O2:${CFLAGS}:" linux.mak > Makefile || \
- die "sed Makefile failed"
+ sed -e "s:CC = gcc:CC = $(gcc-getCC):" \
+ -e "s:-O2:${CFLAGS}:" linux.mak > Makefile \
+ || die "sed Makefile failed"
}
src_compile() {
@@ -28,6 +30,6 @@ src_compile() {
}
src_install() {
- dobin 7plus || die "dobin failed"
- dodoc 7pl_hist.nts 7plh_old.nts format.def || die "dodoc failed"
+ dobin 7plus || die "dobin failed"
+ dodoc 7pl_hist.nts 7plh_old.nts format.def
}