public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/scm/
@ 2017-01-15 11:42 Manuel Rüger
  0 siblings, 0 replies; 11+ messages in thread
From: Manuel Rüger @ 2017-01-15 11:42 UTC (permalink / raw
  To: gentoo-commits

commit:     6dee13fad90af52711cee299379dc7b036426a81
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 15 11:42:32 2017 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 11:42:32 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dee13fa

dev-scheme/scm: Remove old

Package-Manager: portage-2.3.3

 dev-scheme/scm/scm-5.5.6-r1.ebuild | 161 -------------------------------------
 dev-scheme/scm/scm-5.5.6.ebuild    | 161 -------------------------------------
 2 files changed, 322 deletions(-)

diff --git a/dev-scheme/scm/scm-5.5.6-r1.ebuild b/dev-scheme/scm/scm-5.5.6-r1.ebuild
deleted file mode 100644
index d2e44c4..00000000
--- a/dev-scheme/scm/scm-5.5.6-r1.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="3"
-
-inherit versionator eutils flag-o-matic multilib
-
-#version magic thanks to masterdriverz and UberLord using bash array instead of tr
-trarr="0abcdefghi"
-MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 2):1}$(get_version_component_range 3)"
-
-MY_P=${PN}-${MY_PV}
-S=${WORKDIR}/${PN}
-DESCRIPTION="SCM is a Scheme implementation from the author of slib"
-SRC_URI="http://groups.csail.mit.edu/mac/ftpdir/scm/${MY_P}.zip"
-HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM"
-
-SLOT="0"
-LICENSE="LGPL-3"
-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"
-
-#unzip for unpacking
-DEPEND="app-arch/unzip
-	>=dev-scheme/slib-3.1.5
-	dev-util/cproto
-	ncurses? ( sys-libs/ncurses )
-	readline? ( sys-libs/libtermcap-compat )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-multiplefixes.patch
-}
-
-src_compile() {
-	# SLIB is required to build SCM.
-	local slibpath="${EPREFIX}/usr/share/slib/"
-	if [ -n "$SCHEME_LIBRARY_PATH" ]; then
-		einfo "using SLIB $SCHEME_LIBRARY_PATH"
-	elif [ -d ${slibpath} ]; then
-		export SCHEME_LIBRARY_PATH=${slibpath}
-	fi
-
-	einfo "Making scmlit"
-	emake -j1 scmlit clean || die "faild to build scmlit"
-
-	einfo "Building scm"
-	local features=""
-	use arrays && features+="arrays"
-	use bignums && features+=" bignums"
-	use cautious && features+=" cautious"
-	use engineering-notation && features+=" engineering-notation"
-	use inexact && features+=" inexact"
-	use macro && features+=" macro"
-
-	( use readline ||
-	  use ncurses ||
-	  use regex ||
-	  use posix ||
-	  use ioext ||
-	  use gsubr ||
-	  use sockets ||
-	  use unix ||
-	  use dynamic-linking ) && features+=" dynamic-linking"
-
-	./build \
-		--compiler-options="${CFLAGS}" \
-		--linker-options="${LDFLAGS} -L${EPREFIX}/$(get_libdir)" \
-		-s "${EPREFIX}"/usr/$(get_libdir)/scm \
-		-F ${features:="none"} \
-		-h system \
-		-o scm || die
-
-	einfo "Building DLLs"
-	if use readline; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-h system \
-			-F edit-line \
-			-t dll || die
-	fi
-	if use ncurses ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-F curses \
-			-h system \
-			-t dll || die
-	fi
-	if use regex ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c rgx.c \
-			-h system \
-			-t dll || die
-	fi
-	if use gsubr ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c gsubr.c \
-			-h system \
-			-t dll || die
-	fi
-	if use ioext ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c ioext.c \
-			-h system \
-			-t dll || die
-	fi
-	if use posix; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c posix.c \
-			-h system \
-			-t dll || die
-	fi
-	if use sockets ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c socket.c \
-			-h system \
-			-t dll || die
-	fi
-	if use unix ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c unix.c \
-			-h system \
-			-t dll || die
-	fi
-}
-
-src_test() {
-	emake check
-}
-
-src_install() {
-	emake DESTDIR="${D}" man1dir=/usr/share/man/man1/ install || die "Install failed"
-
-	doinfo scm.info
-	doinfo hobbit.info
-}
-
-pkg_postinst() {
-	[ "${ROOT}" == "/" ] && pkg_config
-}
-
-pkg_config() {
-	einfo "Regenerating catalog..."
-	scm -e "(require 'new-catalog)"
-}

diff --git a/dev-scheme/scm/scm-5.5.6.ebuild b/dev-scheme/scm/scm-5.5.6.ebuild
deleted file mode 100644
index fbcefdf..00000000
--- a/dev-scheme/scm/scm-5.5.6.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="3"
-
-inherit versionator eutils flag-o-matic multilib
-
-#version magic thanks to masterdriverz and UberLord using bash array instead of tr
-trarr="0abcdefghi"
-MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 2):1}$(get_version_component_range 3)"
-
-MY_P=${PN}-${MY_PV}
-S=${WORKDIR}/${PN}
-DESCRIPTION="SCM is a Scheme implementation from the author of slib"
-SRC_URI="http://groups.csail.mit.edu/mac/ftpdir/scm/${MY_P}.zip"
-HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM"
-
-SLOT="0"
-LICENSE="LGPL-3"
-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"
-
-#unzip for unpacking
-DEPEND="app-arch/unzip
-	>=dev-scheme/slib-3.1.5
-	dev-util/cproto
-	ncurses? ( sys-libs/ncurses )
-	readline? ( sys-libs/libtermcap-compat )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-multiplefixes.patch
-}
-
-src_compile() {
-	# SLIB is required to build SCM.
-	local slibpath="${EPREFIX}/usr/share/slib/"
-	if [ -n "$SCHEME_LIBRARY_PATH" ]; then
-		einfo "using SLIB $SCHEME_LIBRARY_PATH"
-	elif [ -d ${slibpath} ]; then
-		export SCHEME_LIBRARY_PATH=${slibpath}
-	fi
-
-	einfo "Making scmlit"
-	emake -j1 scmlit clean || die "faild to build scmlit"
-
-	einfo "Building scm"
-	local features=""
-	use arrays && features+="arrays"
-	use bignums && features+=" bignums"
-	use cautious && features+=" cautious"
-	use engineering-notation && features+=" engineering-notation"
-	use inexact && features+=" inexact"
-	use macro && features+=" macro"
-
-	( use readline ||
-	  use ncurses ||
-	  use regex ||
-	  use posix ||
-	  use ioext ||
-	  use gsubr ||
-	  use sockets ||
-	  use unix ||
-	  use dynamic-linking ) && features+=" dynamic-linking"
-
-	./build \
-		--compiler-options="${CFLAGS}" \
-		--linker-options="${LDFLAGS} -L${EPREFIX}/$(get_libdir)" \
-		-s "${EPREFIX}"/usr/$(get_libdir)/scm \
-		-F ${features:="none"} \
-		-h system \
-		-o scm || die
-
-	einfo "Building DLLs"
-	if use readline; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-h system \
-			-F edit-line \
-			-t dll || die
-	fi
-	if use ncurses ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-F curses \
-			-h system \
-			-t dll || die
-	fi
-	if use regex ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c rgx.c \
-			-h system \
-			-t dll || die
-	fi
-	if use gsubr ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c gsubr.c \
-			-h system \
-			-t dll || die
-	fi
-	if use ioext ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c ioext.c \
-			-h system \
-			-t dll || die
-	fi
-	if use posix; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c posix.c \
-			-h system \
-			-t dll || die
-	fi
-	if use sockets ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c socket.c \
-			-h system \
-			-t dll || die
-	fi
-	if use unix ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c unix.c \
-			-h system \
-			-t dll || die
-	fi
-}
-
-src_test() {
-	emake check
-}
-
-src_install() {
-	emake DESTDIR="${D}" install || die "Install failed"
-
-	doinfo scm.info
-	doinfo hobbit.info
-}
-
-pkg_postinst() {
-	[ "${ROOT}" == "/" ] && pkg_config
-}
-
-pkg_config() {
-	einfo "Regenerating catalog..."
-	scm -e "(require 'new-catalog)"
-}


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/scm/
@ 2024-12-16 11:54 Sam James
  0 siblings, 0 replies; 11+ messages in thread
From: Sam James @ 2024-12-16 11:54 UTC (permalink / raw
  To: gentoo-commits

commit:     1bdfed6994dd69a89792aedf91b396f32d889e4a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 15 19:33:04 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 16 11:53:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bdfed69

dev-scheme/scm: update HOMEPAGE

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-scheme/scm/scm-5.5.6-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-scheme/scm/scm-5.5.6-r4.ebuild b/dev-scheme/scm/scm-5.5.6-r4.ebuild
index bce8f81d2491..0cbd50d876b1 100644
--- a/dev-scheme/scm/scm-5.5.6-r4.ebuild
+++ b/dev-scheme/scm/scm-5.5.6-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ MY_P=${PN}-${MY_PV}
 inherit toolchain-funcs
 
 DESCRIPTION="SCM is a Scheme implementation from the author of slib"
-HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM"
+HOMEPAGE="https://people.csail.mit.edu/jaffer/SCM.html"
 SRC_URI="http://groups.csail.mit.edu/mac/ftpdir/scm/${MY_P}.zip"
 S=${WORKDIR}/${PN}
 


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/scm/
@ 2022-12-15 18:45 Maciej Barć
  0 siblings, 0 replies; 11+ messages in thread
From: Maciej Barć @ 2022-12-15 18:45 UTC (permalink / raw
  To: gentoo-commits

commit:     ebefd14ebb65eed047edac6864d49a7001d99d7f
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 15 18:38:36 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Dec 15 18:45:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebefd14e

dev-scheme/scm: respect LDFLAGS in build.scm

Closes: https://bugs.gentoo.org/335175
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/scm/scm-5.5.6-r4.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-scheme/scm/scm-5.5.6-r4.ebuild b/dev-scheme/scm/scm-5.5.6-r4.ebuild
index dc33b24afff3..bce8f81d2491 100644
--- a/dev-scheme/scm/scm-5.5.6-r4.ebuild
+++ b/dev-scheme/scm/scm-5.5.6-r4.ebuild
@@ -39,6 +39,7 @@ src_prepare() {
 	sed \
 		-e "s|\"gcc\"|\"$(tc-getCC)\"|g" \
 		-e "s|\"ld\"|\"$(tc-getLD)\"|g" \
+		-e "s|\"-shared\"|\"-shared ${LDFLAGS}\"|g" \
 		-i ./build.scm || die
 }
 


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/scm/
@ 2022-03-30 21:17 Maciej Barć
  0 siblings, 0 replies; 11+ messages in thread
From: Maciej Barć @ 2022-03-30 21:17 UTC (permalink / raw
  To: gentoo-commits

commit:     106265f416c3bc2f6a1ee2d29479362662283f21
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 30 21:07:33 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Mar 30 21:17:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=106265f4

dev-scheme/scm: respect CC

Closes: https://bugs.gentoo.org/724042
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/scm/scm-5.5.6-r4.ebuild | 25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)

diff --git a/dev-scheme/scm/scm-5.5.6-r4.ebuild b/dev-scheme/scm/scm-5.5.6-r4.ebuild
index 482f32675a52..9885280d9d32 100644
--- a/dev-scheme/scm/scm-5.5.6-r4.ebuild
+++ b/dev-scheme/scm/scm-5.5.6-r4.ebuild
@@ -1,17 +1,19 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-#version magic thanks to masterdriverz and UberLord using bash array instead of tr
+# Version magic thanks to masterdriverz and UberLord using bash array instead of tr
 trarr="0abcdefghi"
 MY_PV="$(ver_cut 1)${trarr:$(ver_cut 2):1}$(ver_cut 3)"
-
 MY_P=${PN}-${MY_PV}
-S=${WORKDIR}/${PN}
+
+inherit toolchain-funcs
+
 DESCRIPTION="SCM is a Scheme implementation from the author of slib"
-SRC_URI="http://groups.csail.mit.edu/mac/ftpdir/scm/${MY_P}.zip"
 HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM"
+SRC_URI="http://groups.csail.mit.edu/mac/ftpdir/scm/${MY_P}.zip"
+S=${WORKDIR}/${PN}
 
 SLOT="0"
 LICENSE="LGPL-3"
@@ -28,6 +30,15 @@ RDEPEND="${DEPEND}"
 PATCHES=( "${FILESDIR}/${P}-multiplefixes.patch"
 	"${FILESDIR}/${P}-respect-ldflags.patch" )
 
+src_prepare() {
+	default
+
+	sed \
+		-e "s|\"gcc\"|\"$(tc-getCC)\"|g" \
+		-e "s|\"ld\"|\"$(tc-getLD)\"|g" \
+		-i ./build.scm || die
+}
+
 src_compile() {
 	# SLIB is required to build SCM.
 	local slibpath="${EPREFIX}/usr/share/slib/"
@@ -38,7 +49,7 @@ src_compile() {
 	fi
 
 	einfo "Making scmlit"
-	emake -j1 scmlit clean
+	emake -j1 CC=$(tc-getCC) scmlit clean
 
 	einfo "Building scm"
 	local features=""


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/scm/
@ 2022-03-30 21:17 Maciej Barć
  0 siblings, 0 replies; 11+ messages in thread
From: Maciej Barć @ 2022-03-30 21:17 UTC (permalink / raw
  To: gentoo-commits

commit:     4dc5bb79a05393e83663db4d8c436cfb67c4c9f7
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 30 21:15:27 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Mar 30 21:17:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dc5bb79

dev-scheme/scm: drop old revision 3 of version 5.5.6

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/scm/scm-5.5.6-r3.ebuild | 167 -------------------------------------
 dev-scheme/scm/scm-5.5.6-r4.ebuild |   2 +-
 2 files changed, 1 insertion(+), 168 deletions(-)

diff --git a/dev-scheme/scm/scm-5.5.6-r3.ebuild b/dev-scheme/scm/scm-5.5.6-r3.ebuild
deleted file mode 100644
index 7f9e5ca83411..000000000000
--- a/dev-scheme/scm/scm-5.5.6-r3.ebuild
+++ /dev/null
@@ -1,167 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator flag-o-matic
-
-#version magic thanks to masterdriverz and UberLord using bash array instead of tr
-trarr="0abcdefghi"
-MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 2):1}$(get_version_component_range 3)"
-
-MY_P=${PN}-${MY_PV}
-S=${WORKDIR}/${PN}
-DESCRIPTION="SCM is a Scheme implementation from the author of slib"
-SRC_URI="http://groups.csail.mit.edu/mac/ftpdir/scm/${MY_P}.zip"
-HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM"
-
-SLOT="0"
-LICENSE="LGPL-3"
-KEYWORDS="amd64 x86 ~amd64-linux"
-IUSE="arrays bignums cautious dynamic-linking engineering-notation gsubr inexact ioext libscm macro ncurses posix readline regex sockets unix"
-
-#unzip for unpacking
-DEPEND="app-arch/unzip
-	>=dev-scheme/slib-3.1.5
-	dev-util/cproto
-	ncurses? ( sys-libs/ncurses:0= )
-	readline? ( sys-libs/libtermcap-compat )"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/${P}-multiplefixes.patch" )
-
-src_compile() {
-	# SLIB is required to build SCM.
-	local slibpath="${EPREFIX}/usr/share/slib/"
-	if [ -n "$SCHEME_LIBRARY_PATH" ]; then
-		einfo "using SLIB $SCHEME_LIBRARY_PATH"
-	elif [ -d ${slibpath} ]; then
-		export SCHEME_LIBRARY_PATH=${slibpath}
-	fi
-
-	einfo "Making scmlit"
-	emake -j1 scmlit clean
-
-	einfo "Building scm"
-	local features=""
-	use arrays && features+="arrays"
-	use bignums && features+=" bignums"
-	use cautious && features+=" cautious"
-	use engineering-notation && features+=" engineering-notation"
-	use inexact && features+=" inexact"
-	use macro && features+=" macro"
-
-	( use readline ||
-	  use ncurses ||
-	  use regex ||
-	  use posix ||
-	  use ioext ||
-	  use gsubr ||
-	  use sockets ||
-	  use unix ||
-	  use dynamic-linking ) && features+=" dynamic-linking"
-
-	./build \
-		--compiler-options="${CFLAGS}" \
-		--linker-options="${LDFLAGS} -L${EPREFIX}/$(get_libdir)" \
-		-s "${EPREFIX}"/usr/$(get_libdir)/scm \
-		-F ${features:="none"} \
-		-h system \
-		-o scm || die
-
-	einfo "Building DLLs"
-	if use readline; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-h system \
-			-F edit-line \
-			-t dll || die
-	fi
-	if use ncurses ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-F curses \
-			-h system \
-			-t dll || die
-	fi
-	if use regex ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c rgx.c \
-			-h system \
-			-t dll || die
-	fi
-	if use gsubr ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c gsubr.c \
-			-h system \
-			-t dll || die
-	fi
-	if use ioext ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c ioext.c \
-			-h system \
-			-t dll || die
-	fi
-	if use posix; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c posix.c \
-			-h system \
-			-t dll || die
-	fi
-	if use sockets ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c socket.c \
-			-h system \
-			-t dll || die
-	fi
-	if use unix ; then
-		./build \
-			--compiler-options="${CFLAGS}" \
-			--linker-options="${LDFLAGS}" \
-			-c unix.c \
-			-h system \
-			-t dll || die
-	fi
-
-	if use libscm ; then
-		emake libscm.a
-	fi
-}
-
-src_test() {
-	emake check
-}
-
-src_install() {
-	emake DESTDIR="${D}" man1dir="${EPREFIX}"/usr/share/man/man1/ \
-		install
-
-	if use libscm; then
-		emake DESTDIR="${D}" libdir="${EPREFIX}"/usr/$(get_libdir)/ \
-			installlib
-	fi
-
-	doinfo scm.info
-	doinfo hobbit.info
-}
-
-pkg_postinst() {
-	[ "${ROOT}" == "/" ] && pkg_config
-}
-
-pkg_config() {
-	einfo "Regenerating catalog..."
-	scm -e "(require 'new-catalog)"
-}

diff --git a/dev-scheme/scm/scm-5.5.6-r4.ebuild b/dev-scheme/scm/scm-5.5.6-r4.ebuild
index 9885280d9d32..0a286fe7cd04 100644
--- a/dev-scheme/scm/scm-5.5.6-r4.ebuild
+++ b/dev-scheme/scm/scm-5.5.6-r4.ebuild
@@ -17,7 +17,7 @@ S=${WORKDIR}/${PN}
 
 SLOT="0"
 LICENSE="LGPL-3"
-KEYWORDS="~amd64 ~x86 ~amd64-linux"
+KEYWORDS="amd64 x86 ~amd64-linux"
 IUSE="arrays bignums cautious dynamic-linking engineering-notation gsubr inexact ioext libscm macro ncurses posix readline regex sockets unix"
 
 BDEPEND="app-arch/unzip"


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/scm/
@ 2021-01-06 22:31 Fabian Groffen
  0 siblings, 0 replies; 11+ messages in thread
From: Fabian Groffen @ 2021-01-06 22:31 UTC (permalink / raw
  To: gentoo-commits

commit:     efd2cc310ff2de04ddd160cbaf6e703d04aae93b
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  6 22:31:32 2021 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Jan  6 22:31:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd2cc31

dev-scheme/scm: drop x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 dev-scheme/scm/scm-5.5.6-r3.ebuild | 4 ++--
 dev-scheme/scm/scm-5.5.6-r4.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-scheme/scm/scm-5.5.6-r3.ebuild b/dev-scheme/scm/scm-5.5.6-r3.ebuild
index 8f89c5848c1..4c86dd6c608 100644
--- a/dev-scheme/scm/scm-5.5.6-r3.ebuild
+++ b/dev-scheme/scm/scm-5.5.6-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -17,7 +17,7 @@ HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM"
 
 SLOT="0"
 LICENSE="LGPL-3"
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-macos"
+KEYWORDS="amd64 x86 ~amd64-linux"
 IUSE="arrays bignums cautious dynamic-linking engineering-notation gsubr inexact ioext libscm macro ncurses posix readline regex sockets unix"
 
 #unzip for unpacking

diff --git a/dev-scheme/scm/scm-5.5.6-r4.ebuild b/dev-scheme/scm/scm-5.5.6-r4.ebuild
index 521992e83ef..482f32675a5 100644
--- a/dev-scheme/scm/scm-5.5.6-r4.ebuild
+++ b/dev-scheme/scm/scm-5.5.6-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM"
 
 SLOT="0"
 LICENSE="LGPL-3"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
 IUSE="arrays bignums cautious dynamic-linking engineering-notation gsubr inexact ioext libscm macro ncurses posix readline regex sockets unix"
 
 BDEPEND="app-arch/unzip"


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/scm/
@ 2018-06-23 21:34 Amy Liffey
  0 siblings, 0 replies; 11+ messages in thread
From: Amy Liffey @ 2018-06-23 21:34 UTC (permalink / raw
  To: gentoo-commits

commit:     739eb2c199952a382ccad6ebd9147fe75d61eec6
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 23 21:33:26 2018 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Sat Jun 23 21:34:07 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=739eb2c1

dev-scheme/scm: add ending newline

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-scheme/scm/scm-5.5.6-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-scheme/scm/scm-5.5.6-r4.ebuild b/dev-scheme/scm/scm-5.5.6-r4.ebuild
index 2d3d39bbaeb..6496a36b4f9 100644
--- a/dev-scheme/scm/scm-5.5.6-r4.ebuild
+++ b/dev-scheme/scm/scm-5.5.6-r4.ebuild
@@ -161,9 +161,9 @@ regen_catalog() {
 }
 
 pkg_postinst() {
-	[ "${ROOT}" == "/" ] && regen_catalog
+	[[ -z ${ROOT%/} ]] && regen_catalog
 }
 
 pkg_config() {
 	regen_catalog
-}
\ No newline at end of file
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/scm/
@ 2018-03-19  7:02 Mikle Kolyada
  0 siblings, 0 replies; 11+ messages in thread
From: Mikle Kolyada @ 2018-03-19  7:02 UTC (permalink / raw
  To: gentoo-commits

commit:     6477e62e1f3343ca3aaec1231f8de6f1ec124c0d
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 19 06:59:43 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Mon Mar 19 07:02:32 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6477e62e

dev-scheme/scm: x86 stable wrt bug #646760

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-scheme/scm/scm-5.5.6-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-scheme/scm/scm-5.5.6-r3.ebuild b/dev-scheme/scm/scm-5.5.6-r3.ebuild
index 4b326b79068..8f89c5848c1 100644
--- a/dev-scheme/scm/scm-5.5.6-r3.ebuild
+++ b/dev-scheme/scm/scm-5.5.6-r3.ebuild
@@ -17,7 +17,7 @@ HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM"
 
 SLOT="0"
 LICENSE="LGPL-3"
-KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-macos"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-macos"
 IUSE="arrays bignums cautious dynamic-linking engineering-notation gsubr inexact ioext libscm macro ncurses posix readline regex sockets unix"
 
 #unzip for unpacking


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/scm/
@ 2017-08-03 11:42 Amy Liffey
  0 siblings, 0 replies; 11+ messages in thread
From: Amy Liffey @ 2017-08-03 11:42 UTC (permalink / raw
  To: gentoo-commits

commit:     00880c64534a2bf9efff56addc0465d4c1a43ff1
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  3 11:41:39 2017 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Thu Aug  3 11:42:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00880c64

dev-scheme/scm: eapi bump to 6

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 .../{scm-5.5.6-r2.ebuild => scm-5.5.6-r3.ebuild}   | 23 ++++++++++------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/dev-scheme/scm/scm-5.5.6-r2.ebuild b/dev-scheme/scm/scm-5.5.6-r3.ebuild
similarity index 89%
rename from dev-scheme/scm/scm-5.5.6-r2.ebuild
rename to dev-scheme/scm/scm-5.5.6-r3.ebuild
index 658b328891d..c24ee44c349 100644
--- a/dev-scheme/scm/scm-5.5.6-r2.ebuild
+++ b/dev-scheme/scm/scm-5.5.6-r3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="3"
+EAPI=6
 
-inherit versionator eutils flag-o-matic multilib
+inherit versionator eutils flag-o-matic
 
 #version magic thanks to masterdriverz and UberLord using bash array instead of tr
 trarr="0abcdefghi"
@@ -18,20 +18,17 @@ HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM"
 SLOT="0"
 LICENSE="LGPL-3"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos"
-IUSE="arrays bignums cautious dynamic-linking engineering-notation gsubr inexact
-ioext libscm macro ncurses posix readline regex sockets unix"
+IUSE="arrays bignums cautious dynamic-linking engineering-notation gsubr inexact ioext libscm macro ncurses posix readline regex sockets unix"
 
 #unzip for unpacking
 DEPEND="app-arch/unzip
 	>=dev-scheme/slib-3.1.5
 	dev-util/cproto
-	ncurses? ( sys-libs/ncurses )
+	ncurses? ( sys-libs/ncurses:0= )
 	readline? ( sys-libs/libtermcap-compat )"
 RDEPEND="${DEPEND}"
 
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-multiplefixes.patch
-}
+PATCHES=( "${FILESDIR}/${P}-multiplefixes.patch" )
 
 src_compile() {
 	# SLIB is required to build SCM.
@@ -43,7 +40,7 @@ src_compile() {
 	fi
 
 	einfo "Making scmlit"
-	emake -j1 scmlit clean || die "faild to build scmlit"
+	emake -j1 scmlit clean
 
 	einfo "Building scm"
 	local features=""
@@ -139,7 +136,7 @@ src_compile() {
 	fi
 
 	if use libscm ; then
-		emake libscm.a || die
+		emake libscm.a
 	fi
 }
 
@@ -149,11 +146,11 @@ src_test() {
 
 src_install() {
 	emake DESTDIR="${D}" man1dir="${EPREFIX}"/usr/share/man/man1/ \
-		install || die "Install failed"
+		install
 
 	if use libscm; then
 		emake DESTDIR="${D}" libdir="${EPREFIX}"/usr/$(get_libdir)/ \
-			installlib || die
+			installlib
 	fi
 
 	doinfo scm.info


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/scm/
@ 2015-08-11 21:49 Sebastian Pipping
  0 siblings, 0 replies; 11+ messages in thread
From: Sebastian Pipping @ 2015-08-11 21:49 UTC (permalink / raw
  To: gentoo-commits

commit:     e5e03818899e2bd7fd92519e4783a58e5262290f
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 11 21:46:26 2015 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Tue Aug 11 21:49:21 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5e03818

dev-scheme/scm: Support installation of libscm.a (bug #557310)

Also use ${EPREFIX}.

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>

 dev-scheme/scm/metadata.xml        |   1 +
 dev-scheme/scm/scm-5.5.6-r2.ebuild | 171 +++++++++++++++++++++++++++++++++++++
 2 files changed, 172 insertions(+)

diff --git a/dev-scheme/scm/metadata.xml b/dev-scheme/scm/metadata.xml
index f2fe873..c9ae03b 100644
--- a/dev-scheme/scm/metadata.xml
+++ b/dev-scheme/scm/metadata.xml
@@ -21,6 +21,7 @@ SCM is a  Scheme implementation conforming to  Revised5 Report on the Algorithmi
 		<flag name='inexact'>Support for floating point numbers.</flag>
 		<flag name='ioext'>Commonly available I/O extensions: line I/O, file
 			positioning, file delete and rename, and directory functions.</flag>
+		<flag name='libscm'>Build and install libscm.a and related headers</flag>
 		<flag name='macro'>C level support for hygienic and referentially 
 			transparent macros (syntax-rules macros).</flag>
 		<flag name='regex'>String regular expression matching.</flag>

diff --git a/dev-scheme/scm/scm-5.5.6-r2.ebuild b/dev-scheme/scm/scm-5.5.6-r2.ebuild
new file mode 100644
index 0000000..a0cf059
--- /dev/null
+++ b/dev-scheme/scm/scm-5.5.6-r2.ebuild
@@ -0,0 +1,171 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+inherit versionator eutils flag-o-matic multilib
+
+#version magic thanks to masterdriverz and UberLord using bash array instead of tr
+trarr="0abcdefghi"
+MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 2):1}$(get_version_component_range 3)"
+
+MY_P=${PN}-${MY_PV}
+S=${WORKDIR}/${PN}
+DESCRIPTION="SCM is a Scheme implementation from the author of slib"
+SRC_URI="http://groups.csail.mit.edu/mac/ftpdir/scm/${MY_P}.zip"
+HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM"
+
+SLOT="0"
+LICENSE="LGPL-3"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos"
+IUSE="arrays bignums cautious dynamic-linking engineering-notation gsubr inexact
+ioext libscm macro ncurses posix readline regex sockets unix"
+
+#unzip for unpacking
+DEPEND="app-arch/unzip
+	>=dev-scheme/slib-3.1.5
+	dev-util/cproto
+	ncurses? ( sys-libs/ncurses )
+	readline? ( sys-libs/libtermcap-compat )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	epatch "${FILESDIR}"/${P}-multiplefixes.patch
+}
+
+src_compile() {
+	# SLIB is required to build SCM.
+	local slibpath="${EPREFIX}/usr/share/slib/"
+	if [ -n "$SCHEME_LIBRARY_PATH" ]; then
+		einfo "using SLIB $SCHEME_LIBRARY_PATH"
+	elif [ -d ${slibpath} ]; then
+		export SCHEME_LIBRARY_PATH=${slibpath}
+	fi
+
+	einfo "Making scmlit"
+	emake -j1 scmlit clean || die "faild to build scmlit"
+
+	einfo "Building scm"
+	local features=""
+	use arrays && features+="arrays"
+	use bignums && features+=" bignums"
+	use cautious && features+=" cautious"
+	use engineering-notation && features+=" engineering-notation"
+	use inexact && features+=" inexact"
+	use macro && features+=" macro"
+
+	( use readline ||
+	  use ncurses ||
+	  use regex ||
+	  use posix ||
+	  use ioext ||
+	  use gsubr ||
+	  use sockets ||
+	  use unix ||
+	  use dynamic-linking ) && features+=" dynamic-linking"
+
+	./build \
+		--compiler-options="${CFLAGS}" \
+		--linker-options="${LDFLAGS} -L${EPREFIX}/$(get_libdir)" \
+		-s "${EPREFIX}"/usr/$(get_libdir)/scm \
+		-F ${features:="none"} \
+		-h system \
+		-o scm || die
+
+	einfo "Building DLLs"
+	if use readline; then
+		./build \
+			--compiler-options="${CFLAGS}" \
+			--linker-options="${LDFLAGS}" \
+			-h system \
+			-F edit-line \
+			-t dll || die
+	fi
+	if use ncurses ; then
+		./build \
+			--compiler-options="${CFLAGS}" \
+			--linker-options="${LDFLAGS}" \
+			-F curses \
+			-h system \
+			-t dll || die
+	fi
+	if use regex ; then
+		./build \
+			--compiler-options="${CFLAGS}" \
+			--linker-options="${LDFLAGS}" \
+			-c rgx.c \
+			-h system \
+			-t dll || die
+	fi
+	if use gsubr ; then
+		./build \
+			--compiler-options="${CFLAGS}" \
+			--linker-options="${LDFLAGS}" \
+			-c gsubr.c \
+			-h system \
+			-t dll || die
+	fi
+	if use ioext ; then
+		./build \
+			--compiler-options="${CFLAGS}" \
+			--linker-options="${LDFLAGS}" \
+			-c ioext.c \
+			-h system \
+			-t dll || die
+	fi
+	if use posix; then
+		./build \
+			--compiler-options="${CFLAGS}" \
+			--linker-options="${LDFLAGS}" \
+			-c posix.c \
+			-h system \
+			-t dll || die
+	fi
+	if use sockets ; then
+		./build \
+			--compiler-options="${CFLAGS}" \
+			--linker-options="${LDFLAGS}" \
+			-c socket.c \
+			-h system \
+			-t dll || die
+	fi
+	if use unix ; then
+		./build \
+			--compiler-options="${CFLAGS}" \
+			--linker-options="${LDFLAGS}" \
+			-c unix.c \
+			-h system \
+			-t dll || die
+	fi
+
+	if use libscm ; then
+		emake libscm.a || die
+	fi
+}
+
+src_test() {
+	emake check
+}
+
+src_install() {
+	emake DESTDIR="${D}" man1dir="${EPREFIX}"/usr/share/man/man1/ \
+		install || die "Install failed"
+
+	if use libscm; then
+		emake DESTDIR="${D}" libdir="${EPREFIX}"/usr/$(get_libdir)/ \
+			installlib || die
+	fi
+
+	doinfo scm.info
+	doinfo hobbit.info
+}
+
+pkg_postinst() {
+	[ "${ROOT}" == "/" ] && pkg_config
+}
+
+pkg_config() {
+	einfo "Regenerating catalog..."
+	scm -e "(require 'new-catalog)"
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/scm/
@ 2015-08-11 17:39 Sebastian Pipping
  0 siblings, 0 replies; 11+ messages in thread
From: Sebastian Pipping @ 2015-08-11 17:39 UTC (permalink / raw
  To: gentoo-commits

commit:     9cdef87270c5bab3920aa3a37ec78f2d15d1fe9d
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 11 17:35:18 2015 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Tue Aug 11 17:38:51 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cdef872

dev-scheme/scm: Fix man page destination (bug #351389)

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>

 dev-scheme/scm/Manifest            |   2 +-
 dev-scheme/scm/scm-5.5.6-r1.ebuild | 161 +++++++++++++++++++++++++++++++++++++
 2 files changed, 162 insertions(+), 1 deletion(-)

diff --git a/dev-scheme/scm/Manifest b/dev-scheme/scm/Manifest
index 4adb984..c9844ef 100644
--- a/dev-scheme/scm/Manifest
+++ b/dev-scheme/scm/Manifest
@@ -1 +1 @@
-DIST scm-5e6.zip 912968 SHA256 97f1b284aacfca01ae44e936dd8468c1d68b0b323776ab5da1d6ec7cb737c1df
+DIST scm-5e6.zip 912968 SHA256 97f1b284aacfca01ae44e936dd8468c1d68b0b323776ab5da1d6ec7cb737c1df SHA512 897370f043401a7961eb1c2e22c951e2144505a1670e328e2c3eab33d52da83f195b873fb7cf8486f412ae52316cfc437c9f2da1432ade70f82eb0da12c2f852 WHIRLPOOL 6734e610e50691e869ad3daeb909bc66d24804239787effadb1499bdad2b7e57583ad02e9e9bec9fb8684184f963ee4473ebb1571139cf53da433e07df43ffc9

diff --git a/dev-scheme/scm/scm-5.5.6-r1.ebuild b/dev-scheme/scm/scm-5.5.6-r1.ebuild
new file mode 100644
index 0000000..d2e44c4
--- /dev/null
+++ b/dev-scheme/scm/scm-5.5.6-r1.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="3"
+
+inherit versionator eutils flag-o-matic multilib
+
+#version magic thanks to masterdriverz and UberLord using bash array instead of tr
+trarr="0abcdefghi"
+MY_PV="$(get_version_component_range 1)${trarr:$(get_version_component_range 2):1}$(get_version_component_range 3)"
+
+MY_P=${PN}-${MY_PV}
+S=${WORKDIR}/${PN}
+DESCRIPTION="SCM is a Scheme implementation from the author of slib"
+SRC_URI="http://groups.csail.mit.edu/mac/ftpdir/scm/${MY_P}.zip"
+HOMEPAGE="http://swiss.csail.mit.edu/~jaffer/SCM"
+
+SLOT="0"
+LICENSE="LGPL-3"
+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"
+
+#unzip for unpacking
+DEPEND="app-arch/unzip
+	>=dev-scheme/slib-3.1.5
+	dev-util/cproto
+	ncurses? ( sys-libs/ncurses )
+	readline? ( sys-libs/libtermcap-compat )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	epatch "${FILESDIR}"/${P}-multiplefixes.patch
+}
+
+src_compile() {
+	# SLIB is required to build SCM.
+	local slibpath="${EPREFIX}/usr/share/slib/"
+	if [ -n "$SCHEME_LIBRARY_PATH" ]; then
+		einfo "using SLIB $SCHEME_LIBRARY_PATH"
+	elif [ -d ${slibpath} ]; then
+		export SCHEME_LIBRARY_PATH=${slibpath}
+	fi
+
+	einfo "Making scmlit"
+	emake -j1 scmlit clean || die "faild to build scmlit"
+
+	einfo "Building scm"
+	local features=""
+	use arrays && features+="arrays"
+	use bignums && features+=" bignums"
+	use cautious && features+=" cautious"
+	use engineering-notation && features+=" engineering-notation"
+	use inexact && features+=" inexact"
+	use macro && features+=" macro"
+
+	( use readline ||
+	  use ncurses ||
+	  use regex ||
+	  use posix ||
+	  use ioext ||
+	  use gsubr ||
+	  use sockets ||
+	  use unix ||
+	  use dynamic-linking ) && features+=" dynamic-linking"
+
+	./build \
+		--compiler-options="${CFLAGS}" \
+		--linker-options="${LDFLAGS} -L${EPREFIX}/$(get_libdir)" \
+		-s "${EPREFIX}"/usr/$(get_libdir)/scm \
+		-F ${features:="none"} \
+		-h system \
+		-o scm || die
+
+	einfo "Building DLLs"
+	if use readline; then
+		./build \
+			--compiler-options="${CFLAGS}" \
+			--linker-options="${LDFLAGS}" \
+			-h system \
+			-F edit-line \
+			-t dll || die
+	fi
+	if use ncurses ; then
+		./build \
+			--compiler-options="${CFLAGS}" \
+			--linker-options="${LDFLAGS}" \
+			-F curses \
+			-h system \
+			-t dll || die
+	fi
+	if use regex ; then
+		./build \
+			--compiler-options="${CFLAGS}" \
+			--linker-options="${LDFLAGS}" \
+			-c rgx.c \
+			-h system \
+			-t dll || die
+	fi
+	if use gsubr ; then
+		./build \
+			--compiler-options="${CFLAGS}" \
+			--linker-options="${LDFLAGS}" \
+			-c gsubr.c \
+			-h system \
+			-t dll || die
+	fi
+	if use ioext ; then
+		./build \
+			--compiler-options="${CFLAGS}" \
+			--linker-options="${LDFLAGS}" \
+			-c ioext.c \
+			-h system \
+			-t dll || die
+	fi
+	if use posix; then
+		./build \
+			--compiler-options="${CFLAGS}" \
+			--linker-options="${LDFLAGS}" \
+			-c posix.c \
+			-h system \
+			-t dll || die
+	fi
+	if use sockets ; then
+		./build \
+			--compiler-options="${CFLAGS}" \
+			--linker-options="${LDFLAGS}" \
+			-c socket.c \
+			-h system \
+			-t dll || die
+	fi
+	if use unix ; then
+		./build \
+			--compiler-options="${CFLAGS}" \
+			--linker-options="${LDFLAGS}" \
+			-c unix.c \
+			-h system \
+			-t dll || die
+	fi
+}
+
+src_test() {
+	emake check
+}
+
+src_install() {
+	emake DESTDIR="${D}" man1dir=/usr/share/man/man1/ install || die "Install failed"
+
+	doinfo scm.info
+	doinfo hobbit.info
+}
+
+pkg_postinst() {
+	[ "${ROOT}" == "/" ] && pkg_config
+}
+
+pkg_config() {
+	einfo "Regenerating catalog..."
+	scm -e "(require 'new-catalog)"
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-12-16 11:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-15 11:42 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/scm/ Manuel Rüger
  -- strict thread matches above, loose matches on Subject: below --
2024-12-16 11:54 Sam James
2022-12-15 18:45 Maciej Barć
2022-03-30 21:17 Maciej Barć
2022-03-30 21:17 Maciej Barć
2021-01-06 22:31 Fabian Groffen
2018-06-23 21:34 Amy Liffey
2018-03-19  7:02 Mikle Kolyada
2017-08-03 11:42 Amy Liffey
2015-08-11 21:49 Sebastian Pipping
2015-08-11 17:39 Sebastian Pipping

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox