# 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)
# 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/"
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