summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-11-14 16:10:32 +0000
committerJustin Lecher <jlec@gentoo.org>2010-11-14 16:10:32 +0000
commit3ca531d2c2371fe7567f69a19185ab1270d4b15e (patch)
tree0f2725d8e9626336d7541e46b930e28443ac445e /dev-scheme/scm
parentQA on quoting, empty lines, ebuild style (diff)
downloadgentoo-2-3ca531d2c2371fe7567f69a19185ab1270d4b15e.tar.gz
gentoo-2-3ca531d2c2371fe7567f69a19185ab1270d4b15e.tar.bz2
gentoo-2-3ca531d2c2371fe7567f69a19185ab1270d4b15e.zip
Imported prefix changes from overlay
(Portage version: 2.2.0_alpha4/cvs/Linux x86_64)
Diffstat (limited to 'dev-scheme/scm')
-rw-r--r--dev-scheme/scm/ChangeLog5
-rw-r--r--dev-scheme/scm/scm-5.5.6.ebuild10
2 files changed, 9 insertions, 6 deletions
diff --git a/dev-scheme/scm/ChangeLog b/dev-scheme/scm/ChangeLog
index 23d23c38f71e..f90f321a967e 100644
--- a/dev-scheme/scm/ChangeLog
+++ b/dev-scheme/scm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-scheme/scm
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scm/ChangeLog,v 1.10 2010/04/16 19:17:20 chiiph Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scm/ChangeLog,v 1.11 2010/11/14 16:10:32 jlec Exp $
+
+ 14 Nov 2010; Justin Lecher <jlec@gentoo.org> scm-5.5.6.ebuild:
+ Imported prefix changes from overlay
*scm-5.5.6 (16 Apr 2010)
diff --git a/dev-scheme/scm/scm-5.5.6.ebuild b/dev-scheme/scm/scm-5.5.6.ebuild
index c769367ad10e..64fda2de5e8e 100644
--- a/dev-scheme/scm/scm-5.5.6.ebuild
+++ b/dev-scheme/scm/scm-5.5.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scm/scm-5.5.6.ebuild,v 1.2 2010/04/16 21:23:21 chiiph Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scm/scm-5.5.6.ebuild,v 1.3 2010/11/14 16:10:32 jlec Exp $
EAPI="2"
@@ -18,7 +18,7 @@ HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM"
SLOT="0"
LICENSE="LGPL-3"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos"
IUSE="arrays bignums cautious dynamic-linking engineering-notation gsubr inexact
ioext macro ncurses posix readline regex sockets unix"
@@ -36,7 +36,7 @@ src_prepare() {
src_compile() {
# SLIB is required to build SCM.
- local slibpath="/usr/share/slib/"
+ local slibpath="${EPREFIX}/usr/share/slib/"
if [ -n "$SCHEME_LIBRARY_PATH" ]; then
einfo "using SLIB $SCHEME_LIBRARY_PATH"
elif [ -d ${slibpath} ]; then
@@ -67,8 +67,8 @@ src_compile() {
./build \
--compiler-options="${CFLAGS}" \
- --linker-options="${LDFLAGS} -L/lib" \
- -s /usr/lib/scm \
+ --linker-options="${LDFLAGS} -L${EPREFIX}/$(get_libdir)" \
+ -s ${EPREFIX}/usr/$(get_libdir)/scm \
-F ${features:="none"} \
-h system \
-o scm || die