Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64671 - vim.eclass uses GNU-only options to xargs
Summary: vim.eclass uses GNU-only options to xargs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-19 12:34 UTC by Aaron Walker (RETIRED)
Modified: 2004-09-19 16:33 UTC (History)
1 user (show)

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


Attachments
vim.eclass xargs patch (vim-eclass-xargs.patch,921 bytes, patch)
2004-09-19 12:52 UTC, Ciaran McCreesh
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Walker (RETIRED) gentoo-dev 2004-09-19 12:34:36 UTC
When filtering vim patches, vim.eclass uses the -i argument to xargs, which unfortunately is a GNU-only option.  BSD's xargs uses -I (ciaran, I was wrong earlier when I said BSD uses -R).  Unfortunately, since I cannot build GNU findutils on BSD (requires some glibc-specific stuff, it looks like), I was unable to just create a bash alias (like we do with tar, sed, make, etc) to GNU xargs.

According to naz, this has been "a long standing issue", although vim builds fine and seems to work ok so far.
Comment 1 Ciaran McCreesh 2004-09-19 12:52:03 UTC
Created attachment 39943 [details, diff]
vim.eclass xargs patch

How's this look? You can check that patches are being applied by doing a
:version. vim-6.3-r1 should give you "Included patches: 1-25".
Comment 2 Ciaran McCreesh 2004-09-19 16:33:43 UTC
Fixed. Using Aron's while read stuff instead.