summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-05-10 17:52:51 +0000
committerMike Frysinger <vapier@gentoo.org>2004-05-10 17:52:51 +0000
commitd696a90e6c20a70a887e89d10681b6a951d6f136 (patch)
tree7849e32525524e63bcb75df71c86fb46d119f479 /games-simulation
parentdont use $CC (diff)
downloadhistorical-d696a90e6c20a70a887e89d10681b6a951d6f136.tar.gz
historical-d696a90e6c20a70a887e89d10681b6a951d6f136.tar.bz2
historical-d696a90e6c20a70a887e89d10681b6a951d6f136.zip
dont use $CC
Diffstat (limited to 'games-simulation')
-rw-r--r--games-simulation/pmars-sdl/pmars-sdl-0.9.2e.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/games-simulation/pmars-sdl/pmars-sdl-0.9.2e.ebuild b/games-simulation/pmars-sdl/pmars-sdl-0.9.2e.ebuild
index acd1c5211e63..3920643b50e3 100644
--- a/games-simulation/pmars-sdl/pmars-sdl-0.9.2e.ebuild
+++ b/games-simulation/pmars-sdl/pmars-sdl-0.9.2e.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/pmars-sdl/pmars-sdl-0.9.2e.ebuild,v 1.2 2004/03/30 15:48:34 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/pmars-sdl/pmars-sdl-0.9.2e.ebuild,v 1.3 2004/05/10 17:52:51 vapier Exp $
-inherit games
+inherit games gcc
MY_PN="${PN/-sdl/}"
MY_PV="${PV/e/-5}"
@@ -61,16 +61,16 @@ src_compile() {
for x in ${SRC}; do
einfo "compiling ${x}"
- ${CC} ${CFLAGS} ${x} -c || die
+ $(gcc-getCC) ${CFLAGS} ${x} -c || die
done
echo
einfo "linking with LIB: ${LIB}"
- ${CC} *.o ${LIB} -o ${MY_PN} || die
+ $(gcc-getCC) *.o ${LIB} -o ${MY_PN} || die
}
src_install() {
- dogamesbin src/${MY_PN}
+ dogamesbin src/${MY_PN} || die
doman doc/${MY_PN}.6
dodoc AUTHORS CONTRIB ChangeLog README doc/redcode.ref
@@ -85,7 +85,6 @@ src_install() {
}
pkg_postinst() {
- echo
ewarn "There are some macros in ${GAMES_DATADIR}/${MY_PN}/macros"
ewarn "which you should make accessible to pmars by typing"
ewarn "export PMARSHOME=${GAMES_DATADIR}/${MY_PN}/macros\n"