# ChangeLog for app-sci/clustalw
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/clustalw/ChangeLog,v 1.8 2004/10/06 02:03:14 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/clustalw/ChangeLog,v 1.9 2004/10/14 12:22:09 gongloo Exp $
+
+ 14 Oct 2004; Hasan Khalil <gongloo@gentoo.org> clustalw-1.83-r1.ebuild:
+ Fixed gcc with gcc.eclass.
05 Oct 2004; Olivier Fisette <ribosome@gentoo.org> clustalw-1.83-r1.ebuild:
Fixed overly verbose description.
-MD5 ce2d44decb2dc5de0d50a088d8549f5e clustalw-1.83-r1.ebuild 1019
-MD5 6b1d6f0854e60d7e5a629125cb6059d9 ChangeLog 930
+MD5 e1909eeea67da7fa00514a5750edc80c ChangeLog 1033
+MD5 6a07418f8066e36260319d52e790e3e7 clustalw-1.83-r1.ebuild 1097
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
MD5 59931bb873b284e7ab0b7c452e87d075 files/digest-clustalw-1.83-r1 69
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/clustalw/clustalw-1.83-r1.ebuild,v 1.3 2004/10/06 02:03:14 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/clustalw/clustalw-1.83-r1.ebuild,v 1.4 2004/10/14 12:22:09 gongloo Exp $
+
+inherit gcc
DESCRIPTION="General purpose multiple alignment program for DNA and proteins"
HOMEPAGE="http://www.embl-heidelberg.de/~seqanal/"
src_unpack(){
unpack ${A}
cd ${S}
+ # No longer needed. see emake line below.
sed -i -e "s/CC = cc/CC = ${CC:gcc}/" makefile
sed -i -e "s/CFLAGS = -c -O/CFLAGS = -c ${CFLAGS}/" makefile
sed -i -e "s/LFLAGS = -O -lm/LFLAGS = -lm ${CFLAGS}/" makefile
}
src_compile() {
- emake || die
+ CC=${CC:-$(gcc-getCC)} emake || die
}
src_install() {