diff options
author | Marijn Schouten <hkbst@gentoo.org> | 2008-02-20 12:57:47 +0000 |
---|---|---|
committer | Marijn Schouten <hkbst@gentoo.org> | 2008-02-20 12:57:47 +0000 |
commit | 501eb6b96732a43b6549505ea0543ca22c71fc5b (patch) | |
tree | a14be1f84b0179ece1e1a26bd7cae6ee03260667 | |
parent | remove old version (diff) | |
download | gentoo-2-501eb6b96732a43b6549505ea0543ca22c71fc5b.tar.gz gentoo-2-501eb6b96732a43b6549505ea0543ca22c71fc5b.tar.bz2 gentoo-2-501eb6b96732a43b6549505ea0543ca22c71fc5b.zip |
put guile-1.6.8 bafck as some ebuilds still depend on it, thanks to tove
(Portage version: 2.1.4.4, RepoMan options: --force)
-rw-r--r-- | dev-scheme/guile/ChangeLog | 5 | ||||
-rw-r--r-- | dev-scheme/guile/guile-1.6.8.ebuild | 77 |
2 files changed, 81 insertions, 1 deletions
diff --git a/dev-scheme/guile/ChangeLog b/dev-scheme/guile/ChangeLog index df576f366e04..a7982d76ea53 100644 --- a/dev-scheme/guile/ChangeLog +++ b/dev-scheme/guile/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-scheme/guile # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile/ChangeLog,v 1.46 2008/02/20 11:55:40 hkbst Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile/ChangeLog,v 1.47 2008/02/20 12:57:47 hkbst Exp $ + + 20 Feb 2008; Marijn Schouten <hkBst@gentoo.org> +guile-1.6.8.ebuild: + put guile-1.6.8 back as some ebuilds still depend on it, thanks to tove 20 Feb 2008; Marijn Schouten <hkBst@gentoo.org> -guile-1.6.7.ebuild, -guile-1.6.8.ebuild, -guile-1.8.1-r3.ebuild: diff --git a/dev-scheme/guile/guile-1.6.8.ebuild b/dev-scheme/guile/guile-1.6.8.ebuild new file mode 100644 index 000000000000..d2736f7de6a3 --- /dev/null +++ b/dev-scheme/guile/guile-1.6.8.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/guile/guile-1.6.8.ebuild,v 1.15 2008/02/20 12:57: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="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" +IUSE="" + +# bug 179738 +MAKEOPTS="${MAKEOPTS} -j1" + +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_unpack() { + unpack ${A} + cd "${S}"/test-suite/tests/ + epatch "${FILESDIR}"/slibtest.patch + sed 's_sleep 999_sleep 1_' -i popen.test +} + +src_compile() { + use ppc && replace-flags -O3 -O2 + + # 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 + + econf \ + --with-threads \ + --with-modules \ + --enable-deprecation=no || die + + # Please keep --enable-deprecation=no in future bumps. + # Danny van Dyk <kugelfang@gentoo.org 2004/09/19 + + emake || die "make failed" +# ./pre-inst-guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)" +} + +src_install() { + einstall || die "install failed" + dodoc AUTHORS ChangeLog GUILE-VERSION HACKING NEWS README SNAPSHOTS THANKS + + # texmacs needs this, closing bug #23493 + dodir /etc/env.d + + # We don't slot the env.d entry because /usr/bin/guile-config is + # there anyway, and will only match the last guile installed. + # so the GUILE_LOAD_PATH will match the data available from guile-config. + echo "GUILE_LOAD_PATH=\"/usr/share/guile/${MAJOR}\"" > "${D}"/etc/env.d/50guile + +# # install a symlink to slib; probably not worth it to test for slib use flag +# dosym /usr/lib/slib/ /usr/share/guile/slib +} + +# keeping this in slib for now +#pkg_postinst() { +# if use slib; then +# einfo "Installing slib for guile..." +# guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)" +# fi +#} |