summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2003-05-19 00:43:19 +0000
committerTavis Ormandy <taviso@gentoo.org>2003-05-19 00:43:19 +0000
commitddb362042489aff2bd651e755f4334bfc97ba7a4 (patch)
tree480e216c36c57104d5ec9038bf07359cf467466a /sys-libs/slang
parentfix gcc-3.3 issues, bug #21213 (diff)
downloadgentoo-2-ddb362042489aff2bd651e755f4334bfc97ba7a4.tar.gz
gentoo-2-ddb362042489aff2bd651e755f4334bfc97ba7a4.tar.bz2
gentoo-2-ddb362042489aff2bd651e755f4334bfc97ba7a4.zip
Removing some gcc hardcodes, using ${CC:-gcc} instead.
Diffstat (limited to 'sys-libs/slang')
-rw-r--r--sys-libs/slang/ChangeLog5
-rw-r--r--sys-libs/slang/slang-1.4.5-r2.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/sys-libs/slang/ChangeLog b/sys-libs/slang/ChangeLog
index f0f4496cf590..7a050027a6db 100644
--- a/sys-libs/slang/ChangeLog
+++ b/sys-libs/slang/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/slang
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.13 2003/03/16 18:01:09 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.14 2003/05/19 00:43:19 taviso Exp $
+
+ 18 May 2003; Tavis Ormandy <taviso@gentoo.org> slang-1.4.5-r2.ebuild:
+ removing hardcoded compiler.
*slang-1.4.8 (22 Feb 2003)
diff --git a/sys-libs/slang/slang-1.4.5-r2.ebuild b/sys-libs/slang/slang-1.4.5-r2.ebuild
index 3493cdee7c22..10af7b63e3c8 100644
--- a/sys-libs/slang/slang-1.4.5-r2.ebuild
+++ b/sys-libs/slang/slang-1.4.5-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-1.4.5-r2.ebuild,v 1.16 2003/02/28 13:18:14 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-1.4.5-r2.ebuild,v 1.17 2003/05/19 00:43:19 taviso Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Console display library used by most text viewer"
@@ -13,6 +13,10 @@ HOMEPAGE="http://space.mit.edu/~davis/slang/"
DEPEND=">=sys-libs/ncurses-5.2-r2"
src_compile() {
+ # remove hardcoded compilers
+ cp configure configure.orig
+ sed -e "s:=\"gcc:=\"${CC:-gcc}:" \
+ configure.orig > configure
./configure \
--host=${CHOST} \
--prefix=/usr || die "./configure failed"