Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 692556 Details for
Bug 760063
dev-scheme/racket-7.9 version bump.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
dev-scheme/racket-8.0 ebuild
0001-dev-scheme-racket-add-8.0.patch (text/plain), 3.40 KB, created by
Mariusz Ceier
on 2021-03-20 11:04:35 UTC
(
hide
)
Description:
dev-scheme/racket-8.0 ebuild
Filename:
MIME Type:
Creator:
Mariusz Ceier
Created:
2021-03-20 11:04:35 UTC
Size:
3.40 KB
patch
obsolete
>From a2d0e134fc7fb9f6d958e3605ba7d9bdf49c70d8 Mon Sep 17 00:00:00 2001 >From: Mariusz Ceier <mceier+gentoo@gmail.com> >Date: Sat, 20 Mar 2021 11:59:59 +0100 >Subject: [PATCH] dev-scheme/racket: add 8.0 > >Signed-off-by: Mariusz Ceier <mceier+gentoo@gmail.com> >--- > dev-scheme/racket/racket-8.0.ebuild | 100 ++++++++++++++++++++++++++++ > 1 file changed, 100 insertions(+) > create mode 100644 dev-scheme/racket/racket-8.0.ebuild > >diff --git a/dev-scheme/racket/racket-8.0.ebuild b/dev-scheme/racket/racket-8.0.ebuild >new file mode 100644 >index 00000000000..1a38a64418d >--- /dev/null >+++ b/dev-scheme/racket/racket-8.0.ebuild >@@ -0,0 +1,100 @@ >+# Copyright 1999-2020 Gentoo Authors >+# Distributed under the terms of the GNU General Public License v2 >+ >+EAPI=7 >+ >+inherit pax-utils >+ >+DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language" >+HOMEPAGE="https://racket-lang.org/" >+SRC_URI="minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )" >+LICENSE="GPL-3+ LGPL-3" >+SLOT="0" >+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" >+IUSE="doc +futures +jit minimal +places +readline +threads +X +chez" >+REQUIRED_USE="futures? ( jit )" >+ >+RDEPEND="dev-db/sqlite:3 >+ media-libs/libpng:0 >+ x11-libs/cairo[X?] >+ x11-libs/pango[X?] >+ dev-libs/libffi >+ virtual/jpeg:0 >+ readline? ( dev-libs/libedit ) >+ X? ( x11-libs/gtk+[X?] )" >+RDEPEND="${RDEPEND} !dev-tex/slatex" >+ >+DEPEND="${RDEPEND}" >+ >+S="${WORKDIR}/${P}/src" >+ >+src_prepare() { >+ default >+ rm -r bc/foreign/libffi || die 'failed to remove bundled libffi' >+} >+ >+src_configure() { >+ # According to vapier, we should use the bundled libtool >+ # such that we don't preclude cross-compile. Thus don't use >+ # --enable-lt=/usr/bin/libtool >+ econf \ >+ --enable-shared \ >+ --enable-float \ >+ --enable-libffi \ >+ --enable-foreign \ >+ $(usex chez "--enable-cs --enable-csonly" "--enable-bc --enable-bconly") \ >+ --disable-libs \ >+ --disable-strip \ >+ --docdir="/usr/share/doc/${PF}" \ >+ $(use_enable X gracket) \ >+ $(use_enable doc docs) \ >+ $(use_enable jit) \ >+ $(use_enable places) \ >+ $(use_enable futures) \ >+ $(use_enable threads pthread) >+} >+ >+src_compile() { >+ if use jit; then >+ # When the JIT is enabled, a few binaries need to be pax-marked >+ # on hardened systems (bug 613634). The trick is to pax-mark >+ # them before they're used later in the build system. The >+ # following order for racketcgc and racket3m was determined by >+ # digging through the Makefile in src/racket to find out which >+ # targets would build those binaries but not use them. >+ if ! use chez; then >+ pushd bc >+ emake cgc-core >+ pax-mark m .libs/racketcgc >+ pushd gc2 >+ emake all >+ popd >+ pax-mark m .libs/racket3m >+ popd >+ fi >+ fi >+ >+ default >+} >+ >+src_install() { >+ default >+ >+ if use jit; then >+ # The final binaries need to be pax-marked, too, if you want to >+ # actually use them. The src_compile marking get lost somewhere >+ # in the install process. >+ for f in mred mzscheme racket; do >+ pax-mark m "${D}/usr/bin/${f}" >+ done >+ >+ use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket" >+ >+ pax-mark m "${D}/usr/$(get_libdir)/racket/starter" >+ fi >+ # raco needs decompressed files for packages doc installation bug 662424 >+ if use doc; then >+ docompress -x /usr/share/doc/${PF} >+ fi >+ find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die >+} >-- >2.31.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 760063
:
692553
| 692556