Fixed gcc with gcc.eclass.
authorHasan Khalil <gongloo@gentoo.org>
Thu, 14 Oct 2004 12:22:09 +0000 (12:22 +0000)
committerHasan Khalil <gongloo@gentoo.org>
Thu, 14 Oct 2004 12:22:09 +0000 (12:22 +0000)
app-sci/clustalw/ChangeLog
app-sci/clustalw/Manifest
app-sci/clustalw/clustalw-1.83-r1.ebuild

index 2a818570f4960ec74ae38dcdcf0c8792ec9187aa..d13cfe630b4952b82bc4c2978d3f394445941f6e 100644 (file)
@@ -1,6 +1,9 @@
 # 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.
index 0f0e567012a522d543baa80fffa873984c806739..b584a4894150e6e4249b7af6fb748348935a6923 100644 (file)
@@ -1,4 +1,4 @@
-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
index b2ec111dfd13b77fa5c77437aebd404a6b8bc377..63d13bc22a409864596b3c2284227a4fe4ee22c7 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/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/"
@@ -18,6 +20,7 @@ S=${WORKDIR}/${PN}${PV}
 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
@@ -25,7 +28,7 @@ src_unpack(){
 }
 
 src_compile() {
-       emake || die
+       CC=${CC:-$(gcc-getCC)} emake || die
 }
 
 src_install() {