Skip to content

Commit

Permalink
dev-scheme/guile: do not check Guile bytecode (QA issue)
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/795849
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <[email protected]>
  • Loading branch information
xgqt committed Feb 16, 2022
1 parent 72a0a78 commit 15fc188
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 10 deletions.
16 changes: 10 additions & 6 deletions dev-scheme/guile/guile-2.0.14-r4.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand All @@ -12,8 +12,8 @@ LICENSE="LGPL-3+"
IUSE="debug debug-malloc +deprecated +networking +nls +regex +threads" # upstream recommended +networking +nls
# emacs useflag removal not working

# workaround for bug 596322
REQUIRED_USE="regex"
REQUIRED_USE="regex" # workaround for bug 596322
RESTRICT="strip"

RDEPEND="
>=dev-libs/boehm-gc-7.0:=[threads?]
Expand All @@ -33,14 +33,18 @@ DEPEND="${RDEPEND}
SLOT="12/22" # subslot is soname version
MAJOR="2.0"

DOCS=( GUILE-VERSION HACKING README )

PATCHES=(
"${FILESDIR}/${PN}-2-snarf.patch"
"${FILESDIR}/${P}-darwin.patch"
"${FILESDIR}/${P}-ia64-fix-crash-thread-context-switch.patch"
)

# guile generates ELF files without use of C or machine code
# It's a portage's false positive. bug #677600
QA_PREBUILT='*[.]go'

DOCS=( GUILE-VERSION HACKING README )

src_prepare() {
default
eautoreconf
Expand Down Expand Up @@ -75,7 +79,7 @@ src_install() {
find "${ED}" -name '*.la' -delete || die

# From Novell
# https://bugzilla.novell.com/show_bug.cgi?id=874028#c0
# https://bugzilla.novell.com/show_bug.cgi?id=874028#c0
dodir /usr/share/gdb/auto-load/$(get_libdir)
mv "${ED}"/usr/$(get_libdir)/libguile-*-gdb.scm "${ED}"/usr/share/gdb/auto-load/$(get_libdir) || die

Expand Down
9 changes: 7 additions & 2 deletions dev-scheme/guile/guile-2.2.6.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand Down Expand Up @@ -30,6 +30,11 @@ BDEPEND="
sys-devel/gettext"

PATCHES=( "${FILESDIR}/${PN}-2.2.3-gentoo-sandbox.patch" )

# guile generates ELF files without use of C or machine code
# It's a portage's false positive. bug #677600
QA_PREBUILT='*[.]go'

DOCS=( GUILE-VERSION HACKING README )

src_configure() {
Expand Down Expand Up @@ -60,7 +65,7 @@ src_install() {
default

# From Novell
# https://bugzilla.novell.com/show_bug.cgi?id=874028#c0
# https://bugzilla.novell.com/show_bug.cgi?id=874028#c0
dodir /usr/share/gdb/auto-load/$(get_libdir)
mv "${ED}"/usr/$(get_libdir)/libguile-*-gdb.scm "${ED}"/usr/share/gdb/auto-load/$(get_libdir) || die

Expand Down
6 changes: 5 additions & 1 deletion dev-scheme/guile/guile-2.2.7-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand Down Expand Up @@ -35,6 +35,10 @@ PATCHES=(
"${FILESDIR}/${PN}-2.2.7-stack-up.patch"
)

# guile generates ELF files without use of C or machine code
# It's a portage's false positive. bug #677600
QA_PREBUILT='*[.]go'

DOCS=( GUILE-VERSION HACKING README )

src_configure() {
Expand Down
6 changes: 5 additions & 1 deletion dev-scheme/guile/guile-3.0.7-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
Expand Down Expand Up @@ -37,6 +37,10 @@ PATCHES=(
"${WORKDIR}/${P}-gnulib-glibc-2.34.patch"
)

# guile generates ELF files without use of C or machine code
# It's a portage's false positive. bug #677600
QA_PREBUILT='*[.]go'

DOCS=( GUILE-VERSION HACKING README )

src_prepare() {
Expand Down
4 changes: 4 additions & 0 deletions dev-scheme/guile/guile-3.0.8.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ PATCHES=(
"${FILESDIR}/${PN}-2.2.3-gentoo-sandbox.patch"
)

# guile generates ELF files without use of C or machine code
# It's a portage's false positive. bug #677600
QA_PREBUILT='*[.]go'

DOCS=( GUILE-VERSION HACKING README )

src_configure() {
Expand Down

0 comments on commit 15fc188

Please sign in to comment.