Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175404 - dev-cpp/Ice-*.ebuild implements ncurses USE flag incorrectly
Summary: dev-cpp/Ice-*.ebuild implements ncurses USE flag incorrectly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-21 00:41 UTC by Bruce Karsh
Modified: 2007-08-12 23:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bruce Karsh 2007-04-21 00:41:43 UTC
The ebuilds for dev-cpp/Ice all try to support the ncurses USE flag so that readline support will be built into utilities such as icegridadmin.  The relevant
lines from the ebuild are:

        if ! use ncurses; then
                sed -i -e "s#   USE_READLINE.*#   USE_READLINE := no#g" \
                ${S}/config/Make.rules || die "Failed to set no readline"
        fi

That doesn't work.  The sed pattern does not match the pattern that is in the
${S}/config/Make.rules file and anyways, it's currently set to off by default
and this code would only turn it off once again.

The file is pretty simple.  Change those lines to:

        if use ncurses; then
                sed -i -e "s#^USE_READLINE.*#USE_READLINE       ?= yes#g" \
                ${S}/config/Make.rules || die "Failed to set no readline"
        fi

OK, so not having readline is not the end of the world, but it is incredibly
annoying.  


Reproducible: Always

Steps to Reproduce:
1.emerge Ice with the ncurses flag
2.run icegridadmin
3.note that the readline support does not work.  E.g., pressing the up arrow does
not scroll back to the previous command.
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2007-07-15 09:41:22 UTC
Herd is the new maintainer
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2007-08-12 23:50:33 UTC
patched ebuild.  thanks for the report.