# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile/guile-1.6.6.ebuild,v 1.1 2007/01/10 17:31:47 hkbst Exp $ inherit flag-o-matic eutils libtool DESCRIPTION="Scheme interpreter" HOMEPAGE="http://www.gnu.org/software/guile/" SRC_URI="mirror://gnu/guile/${P}.tar.gz" LICENSE="GPL-2" KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~s390" IUSE="" DEPEND=">=sys-libs/ncurses-5.1 >=sys-libs/readline-4.1" # NOTE: in README-PACKAGERS, guile recommends different versions be installed # in parallel. They're talking about LIBRARY MAJOR versions and not # the actual guile version that was used in the past. # # So I'm slotting this as 12 beacuse of the library major version SLOT="12" MAJOR="1.6" src_compile() { # Fix for bug 26484: This package fails to build when built with # -g3, at least on some architectures. (19 Aug 2003 agriffis) filter-flags -g3 if [ "${ARCH}" = "amd64" ]; then epatch ${FILESDIR}/guile-amd64.patch fi if [ "${ARCH}" = "ppc" ]; then replace-flags -O3 -O2 fi econf \ --with-threads \ --with-modules \ --enable-deprecation=no || die # Please keep --enable-deprecation=no in future bumps. # Danny van Dyk ${D}/etc/env.d/50guile }