# ChangeLog for dev-lang/icon
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/icon/ChangeLog,v 1.9 2005/04/22 09:19:19 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/icon/ChangeLog,v 1.10 2005/11/03 12:26:56 grobian Exp $
+
+ 03 Nov 2005; Fabian Groffen <grobian@gentoo.org> icon-9.4.2.ebuild:
+ Note: 9.4.2 is newer than 9.40. Marked 9.4.2 ~ppc-macos (bug #110834)
22 Apr 2005; Simon Stelling <blubb@gentoo.org> icon-9.40.ebuild:
re-added ~amd64
-MD5 76699a735cb58e340c75cfc18ec2fbb3 ChangeLog 1272
-MD5 15c79910b2a8468b9db6a2c17144b7bf icon-9.4.2.ebuild 1202
+MD5 c2824694e4de4b334644b76054f9e88d icon-9.4.2.ebuild 1402
+MD5 63ef0efc9bcc177e8b5e8d0cf3d62da0 ChangeLog 1419
MD5 deb9f7760f1bb045b0b15a93e5297b80 icon-9.40.ebuild 1126
MD5 c4c708e3dc384f836a21bfea63ae3288 metadata.xml 162
-MD5 640a91b011b92976911ea322c40e60f4 files/digest-icon-9.4.2 62
-MD5 abd61a0d7e185c2ac47a4539c79e5d0c files/digest-icon-9.40 62
MD5 fadf61644e614aee6ca9af4533791738 files/icon-9.40-gentoo.diff 244
+MD5 abd61a0d7e185c2ac47a4539c79e5d0c files/digest-icon-9.40 62
+MD5 640a91b011b92976911ea322c40e60f4 files/digest-icon-9.4.2 62
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/icon/icon-9.4.2.ebuild,v 1.2 2004/09/01 09:34:30 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/icon/icon-9.4.2.ebuild,v 1.3 2005/11/03 12:26:56 grobian Exp $
MY_PV=${PV//./}
SRC_URI="http://www.cs.arizona.edu/icon/ftp/packages/unix/icon.v${MY_PV}src.tgz"
LICENSE="as-is"
SLOT="0"
-KEYWORDS="~x86 ~amd64 ~alpha"
+KEYWORDS="~alpha ~amd64 ~ppc-macos ~x86"
IUSE="X"
S=${WORKDIR}/icon.v${MY_PV}src
}
src_compile() {
+ # select the right compile target. Note there are many platforms
+ # available
+ local mytarget;
+ if use ppc-macos;
+ then
+ mytarget="ppc_macos"
+ else
+ mytarget="linux"
+ fi
+
if use X; then
- emake X-Configure name=linux -j1 || die
+ emake X-Configure name=${mytarget} -j1 || die
else
- emake Configure name=linux -j1 || die
+ emake Configure name=${mytarget} -j1 || die
fi
emake -j1 || die