Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 674581 Details for
Bug 754924
sys-fs/reiser4progs: fix libreiser4 linking against static libmisc, and fix configure not finding ncurses (libtinfo)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-fs/reiser4progs-2.0.4 (fix libtinfo)
reiser4progs-2.0.4.ebuild (text/plain), 2.20 KB, created by
mehw
on 2020-11-23 20:03:12 UTC
(
hide
)
Description:
sys-fs/reiser4progs-2.0.4 (fix libtinfo)
Filename:
MIME Type:
Creator:
mehw
Created:
2020-11-23 20:03:12 UTC
Size:
2.20 KB
patch
obsolete
># Copyright 1999-2020 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >EAPI=7 > >inherit multilib toolchain-funcs usr-ldscript autotools > >DESCRIPTION="reiser4progs: mkfs, fsck, etc..." >HOMEPAGE="https://sourceforge.net/projects/reiser4/ https://github.com/edward6/reiser4progs" >SRC_URI="mirror://sourceforge/reiser4/${P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~arm ~ppc ~ppc64 -sparc ~x86" >IUSE="debug readline static static-libs unicode" > >LIB_DEPEND=">=sys-libs/libaal-1.0.7:=[static-libs(+)] > readline? ( sys-libs/readline:0=[static-libs(+)] )" >RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) > static-libs? ( >=sys-libs/libaal-1.0.7:=[static-libs(+)] ) > readline? ( sys-libs/readline:0=[unicode=] )" >DEPEND="${RDEPEND} > static? ( ${LIB_DEPEND} )" > >REQUIRED_USE="unicode? ( readline )" > >PATCHES=( > "${FILESDIR}"/${PN}-1.0.7-readline-6.3.patch >) > >S="${WORKDIR}/${P}" > >src_prepare() { > default > > # Set unicode when readline is compiled with USE=unicode, and > # fix missing libtinfo if ncurses is compiled with USE=tinfo. > if use readline; then > # Check if readline is compiled with USE=unicode. > local unicode=$(usex unicode w '') > > # Use pkg-config to get the right ncurses libs for readline. > local ncurses_libs=$($(tc-getPKG_CONFIG) ncurses${unicode} --libs) > > # Use pkg-config to get the right ncurses lib names to search for. > local search_libs > for lib in $($(tc-getPKG_CONFIG) ncurses${unicode} --libs-only-l); do > search_libs="${search_libs} ${lib#-l}" > done > sed -ri \ > -e "s:-lncurses:${ncurses_libs}:g" \ > -e "s:(AC_SEARCH_LIBS\(tgetent,) ncurses,:\1${search_libs},:g" \ > configure.ac || die > fi > > eautoreconf > > printf '#!/bin/sh\ntrue\n' > run-ldconfig > # Delete hardcoded link/compile flags. > sed -i -r \ > -e '/CFLAGS=/s: -static":":' \ > -e '/CFLAGS/s: (-O[123s]|-g)\>::g' \ > configure || die >} > >src_configure() { > local myeconfargs=( > $(use_enable static full-static) > $(use_enable static-libs static) > $(use_enable debug) > $(use_with readline) > --disable-Werror > --enable-libminimal > --sbindir=/sbin > ) > econf "${myeconfargs[@]}" >} > >src_install() { > default > gen_usr_ldscript -a reiser4{,-minimal} repair > find "${ED}" -type f -name "*.la" -delete || die >}
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 Raw
Actions:
View
Attachments on
bug 754924
:
671632
|
671635
|
671638
|
671641
|
671644
|
671647
|
671650
|
671653
|
671656
|
674569
|
674572
|
674575
|
674578
| 674581 |
674584