Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 59850 Details for
Bug 93970
vim with USE=-ncurses requires libtermcap-compat, which is broken on *BSD.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
vim.eclass-termcap-use.flag-93970.patch
vim.eclass-termcap-use.flag-93970.patch (text/plain), 2.42 KB, created by
Ciaran McCreesh
on 2005-05-25 23:32:19 UTC
(
hide
)
Description:
vim.eclass-termcap-use.flag-93970.patch
Filename:
MIME Type:
Creator:
Ciaran McCreesh
Created:
2005-05-25 23:32:19 UTC
Size:
2.42 KB
patch
obsolete
>Index: vim.eclass >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v >retrieving revision 1.106 >diff -u -r1.106 vim.eclass >--- vim.eclass 26 Mar 2005 19:34:57 -0000 1.106 >+++ vim.eclass 26 May 2005 06:29:10 -0000 >@@ -47,7 +47,13 @@ > INHERITED="$INHERITED $ECLASS" > EXPORT_FUNCTIONS src_unpack pkg_setup > >-IUSE="$IUSE selinux ncurses nls acl" >+IUSE="$IUSE selinux nls acl" >+ >+if version_is_at_least "6.3.074-r1" ; then >+ IUSE="${IUSE} termcap-compat" >+else >+ IUSE="${IUSE} ncurses" >+fi > > if [[ "${MY_PN}" == "vim-core" ]] ; then > IUSE="$IUSE livecd" >@@ -122,19 +128,28 @@ > # Portage dependancy is for use_with/use_enable. > # ctags dependancy allows help tags to be rebuilt properly, along > # with detection of exuberant-ctags by configure. >-DEPEND="$DEPEND >+DEPEND="$DEPEND > >=sys-apps/portage-2.0.45-r3 > >=sys-apps/sed-4 > sys-devel/autoconf >- ncurses? ( >=sys-libs/ncurses-5.2-r2 ) >- !ncurses? ( sys-libs/libtermcap-compat ) >- dev-util/ctags >- " >-RDEPEND="$RDEPEND >- ncurses? ( >=sys-libs/ncurses-5.2-r2 ) >- !ncurses? ( sys-libs/libtermcap-compat ) >- dev-util/ctags >- " >+ dev-util/ctags" >+RDEPEND="$RDEPEND dev-util/ctags" >+ >+if version_is_at_least "6.3.074-r1" ; then >+ DEPEND="$DEPEND >+ !termcap-compat? ( >=sys-libs/ncurses-5.2-r2 ) >+ termcap-compat? ( sys-libs/libtermcap-compat )" >+ RDEPEND="$RDEPEND >+ !termcap-compat? ( >=sys-libs/ncurses-5.2-r2 ) >+ termcap-compat? ( sys-libs/libtermcap-compat )" >+else >+ DEPEND="$DEPEND >+ ncurses? ( >=sys-libs/ncurses-5.2-r2 ) >+ !ncurses? ( sys-libs/libtermcap-compat )" >+ RDEPEND="$RDEPEND >+ ncurses? ( >=sys-libs/ncurses-5.2-r2 ) >+ !ncurses? ( sys-libs/libtermcap-compat )" >+fi > > apply_vim_patches() { > local p >@@ -448,10 +463,17 @@ > myconf="${myconf} `use_enable nls` `use_enable acl`" > fi > >- # Note: If USE=gpm, then ncurses will still be required >- use ncurses \ >- && myconf="${myconf} --with-tlib=ncurses" \ >- || myconf="${myconf} --with-tlib=termcap" >+ # Note: If USE=gpm, then ncurses will still be required. See bug #93970 >+ # for the reasons behind the USE flag change. >+ if version_is_at_least "6.3.074-r1" ; then >+ use ncurses \ >+ && myconf="${myconf} --with-tlib=ncurses" \ >+ || myconf="${myconf} --with-tlib=termcap" >+ else >+ use termcap-compat \ >+ && myconf="${myconf} --with-tlib=termcap" \ >+ || myconf="${myconf} --with-tlib=ncurses" >+ fi > > use selinux \ > || myconf="${myconf} --disable-selinux"
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 93970
: 59850