Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 406220 Details for
Bug 457530
[TRACKER] Failures with sys-libs/ncurses[tinfo]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ncurses-5.9-r3.ebuild.patch
ncurses-5.9-r3.ebuild.patch (text/plain), 1.99 KB, created by
Fernando Rodriguez
on 2015-07-06 00:12:00 UTC
(
hide
)
Description:
ncurses-5.9-r3.ebuild.patch
Filename:
MIME Type:
Creator:
Fernando Rodriguez
Created:
2015-07-06 00:12:00 UTC
Size:
1.99 KB
patch
obsolete
>--- a/sys-libs/ncurses/ncurses-5.9-r3.ebuild 2014-08-05 12:31:18.000000000 -0400 >+++ b/sys-libs/ncurses/ncurses-5.9-r3.ebuild 2015-07-05 19:17:34.000000000 -0400 >@@ -69,6 +69,7 @@ > do_configure() { > ECONF_SOURCE=${S} > >+ tinfodir="${BUILD_DIR}"-$1-tinfo > mkdir "${BUILD_DIR}"-$1 > cd "${BUILD_DIR}"-$1 || die > shift >@@ -113,7 +114,6 @@ > $(use_with debug expanded) > $(use_with !debug macros) > $(use_with trace) >- $(use_with tinfo termlib) > > # The chtype/mmask-t settings below are to retain ABI compat > # with ncurses-5.4 so dont change em ! >@@ -126,6 +126,12 @@ > ) > > econf "${conf[@]}" "$@" >+ if use tinfo; then >+ mkdir "${tinfodir}" >+ cd "$tinfodir" || die >+ conf+=($(use_with tinfo termlib)) >+ econf "${conf[@]}" "$@" >+ fi > } > > src_compile() { >@@ -162,6 +168,12 @@ > # create the .pc files we want. > rm -f misc/pc-files > emake ${make_flags} >+ if use tinfo; then >+ cd "${BUILD_DIR}"-$1-tinfo || die >+ emake -j1 sources >+ rm -f misc/pc-files >+ emake ${make_flags} >+ fi > } > > multilib_src_install() { >@@ -172,9 +184,27 @@ > # support both wide and narrow > cd "${BUILD_DIR}"-narrowc || die > emake DESTDIR="${D}" install >+ if use tinfo; then >+ cd "${BUILD_DIR}-narrowc-tinfo/misc" || die >+ chmod +x gen-pkgconfig || die >+ ./gen-pkgconfig || die >+ find "${BUILD_DIR}-narrowc-tinfo/lib/." -name 'libtinfo*' \ >+ -exec mv '{}' "${ED}/usr/$(get_libdir)/" \; || die >+ find "${BUILD_DIR}-narrowc-tinfo/misc/." -name 'tinfo*' \ >+ -exec mv '{}' "${ED}/usr/$(get_libdir)/pkgconfig/" \; || die >+ fi > if use unicode ; then > cd "${BUILD_DIR}"-widec || die > emake DESTDIR="${D}" install >+ if use tinfo; then >+ cd "${BUILD_DIR}-widec-tinfo/misc" || die >+ chmod +x gen-pkgconfig || die >+ ./gen-pkgconfig || die >+ find "${BUILD_DIR}-widec-tinfo/lib/." -name 'libtinfo*' \ >+ -exec mv '{}' "${ED}/usr/$(get_libdir)/" \; || die >+ find "${BUILD_DIR}-widec-tinfo/misc/." -name 'tinfo*' \ >+ -exec mv '{}' "${ED}/usr/$(get_libdir)/pkgconfig/" \; || die >+ fi > fi > > # Move libncurses{,w} into /lib
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 457530
:
382428
| 406220