Changed CC for gcc-getCC.
authorOlivier Fisette <ribosome@gentoo.org>
Thu, 14 Oct 2004 14:35:24 +0000 (14:35 +0000)
committerOlivier Fisette <ribosome@gentoo.org>
Thu, 14 Oct 2004 14:35:24 +0000 (14:35 +0000)
app-sci/clustalx/ChangeLog
app-sci/clustalx/clustalx-1.83.ebuild

index 3f12615500149e6112c2ebcd1260644e9a50d6ec..c3f5e86abe6625b0e53f86ce7e2f0703b7eef7d9 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for app-sci/clustalx
 # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/clustalx/ChangeLog,v 1.1 2004/10/06 12:35:01 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/clustalx/ChangeLog,v 1.2 2004/10/14 14:35:24 ribosome Exp $
+
+  14 Oct 2004; Olivier Fisette <ribosome@gentoo.org> clustalx-1.83.ebuild:
+  Use gcc.eclass rather than ${CC}.
 
 *clustalx-1.83 (06 Oct 2004)
 
index 74af4b33cabfc3f3f0fafdc2d2e320996a309f98..75f1fec30f3f19eb1b810fdbfc2ad98f495fd790 100644 (file)
@@ -1,6 +1,8 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/clustalx/clustalx-1.83.ebuild,v 1.1 2004/10/06 12:35:01 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/clustalx/clustalx-1.83.ebuild,v 1.2 2004/10/14 14:35:24 ribosome Exp $
+
+inherit gcc
 
 DESCRIPTION="Graphical interface for the ClustalW multiple alignment program"
 HOMEPAGE="http://www-igbmc.u-strasbg.fr/BioInfo/ClustalX/"
@@ -21,7 +23,7 @@ src_unpack() {
        unpack ${A}
        cd ${S}
        cp makefile.linux makefile
-       sed -i -e "s/CC = cc/CC = ${CC:gcc}/" makefile
+       sed -i -e "s/CC = cc/CC = $(gcc-getCC)/" makefile
        sed -i -e "s/CFLAGS  = -c -O/CFLAGS  = -c ${CFLAGS}/" makefile
        sed -i -e "s/LFLAGS     = -O -lm/LFLAGS = -lm ${CFLAGS}/" makefile
        sed -i -e "s%-I/usr/bio/src/ncbi/include%-I/usr/include/ncbi%" makefile