From 44523f69ffc2ed323bd66149f74fdf58241acc30 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Wed, 28 Apr 2004 05:46:15 +0000
Subject: dont use $CC

---
 dev-games/hawknl/hawknl-1.68.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'dev-games/hawknl')

diff --git a/dev-games/hawknl/hawknl-1.68.ebuild b/dev-games/hawknl/hawknl-1.68.ebuild
index f90da2ca7084..aed11a522a7b 100644
--- a/dev-games/hawknl/hawknl-1.68.ebuild
+++ b/dev-games/hawknl/hawknl-1.68.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Technologies, Inc., 2004 Richard Garand <richard@garandnet.net>
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/hawknl/hawknl-1.68.ebuild,v 1.4 2004/02/21 23:52:52 brad_mssw Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/hawknl/hawknl-1.68.ebuild,v 1.5 2004/04/28 05:46:15 vapier Exp $
 
 DESCRIPTION="A cross-platform network library designed for games"
 HOMEPAGE="http://www.hawksoft.com/hawknl/"
@@ -23,16 +23,16 @@ src_unpack() {
 
 	sed -i \
 		-e 's:make :$(MAKE) :g' makefile \
-			|| die "sed makefile failed"
+		|| die "sed makefile failed"
 
 	sed -i \
 		-e '/echo /d' src/makefile.linux \
-			|| die "sed src/makefile.linux failed"
+		|| die "sed src/makefile.linux failed"
 }
 
 src_compile () {
 	emake \
-		CC=${CC} \
+		CC="$(gcc-getCC)" \
 		OPTFLAGS="${CFLAGS} -D_GNU_SOURCE -D_REENTRANT" || die "emake failed"
 }
 
-- 
cgit v1.2.3-65-gdbad