Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 262150

Summary: mail-client/nmh-1.3-r1 emerge fails if $PAGER contains arguments
Product: Gentoo Linux Reporter: Seth Robertson <in-gentoo>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED WONTFIX    
Severity: minor CC: fellows, in-gentoo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 336057    

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.