Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262150 - mail-client/nmh-1.3-r1 emerge fails if $PAGER contains arguments
Summary: mail-client/nmh-1.3-r1 emerge fails if $PAGER contains arguments
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 336057
  Show dependency tree
 
Reported: 2009-03-11 15:52 UTC by Seth Robertson
Modified: 2010-09-05 10:01 UTC (History)
2 users (show)

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 Seth Robertson 2009-03-11 15:52:03 UTC
mail-client/nmh-1.3-r1 emerge fails if $PAGER contains arguments, like "less -r"

(yes, I am aware of the $LESS variable, I don't want it for every usage of less, only the $PAGER ones)


Reproducible: Always

Steps to Reproduce:
1.PAGER="less -r" emerge nmh
2.
3.

Actual Results:  
configure: error: unrecognized option: -r


Expected Results:  
successful emerge

Strip any arguments from the pager
$ENV{'PAGER'} =~ s/\s.*//
Comment 1 Seth Robertson 2010-07-31 00:25:08 UTC
Please see http://bugs.gentoo.org/attachment.cgi?id=240761&action=view in Bug 319937 for an ebuild which includes this fix.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-09-05 10:01:17 UTC
nmh was removed from portage, therefore closing as wontfix for now.
new ebuilds should go in bug 336057.