Created attachment 329928 [details, diff] patch to cpio-2.11.ebuild Changes: - add prefix keywords - introduce ${EPREFIX}, ${ED}, ${EROOT} as needed - bump to EAPI 4 - use default() for src_install() - Add patch to build on non-GNU compilers (from bug 275295)
Created attachment 329930 [details, diff] Patch to build on non-GNU compilers
Comment on attachment 329930 [details, diff] Patch to build on non-GNU compilers >srcshelton@gmail.com: Patch for IRIX > >http://bugs.gentoo.org/show_bug.cgi?id=275295 > >--- src/cpiohdr.h.dist 2009-06-24 15:41:26.983725240 +0100 >+++ src/cpiohdr.h 2009-06-24 15:41:59.753567720 +0100 >@@ -24,6 +24,8 @@ also see: https://savannah.gnu.org/patch/?7838
(In reply to comment #2) please add that bug URL to the patch itself at the top
Comment on attachment 329928 [details, diff] patch to cpio-2.11.ebuild >+ --with-rmt="${EPREFIX}"/usr/sbin/rmt how about: --with-rmt='$(sbindir)/rmt'
(In reply to comment #4) > Comment on attachment 329928 [details, diff] [details, diff] > patch to cpio-2.11.ebuild > > >+ --with-rmt="${EPREFIX}"/usr/sbin/rmt > > how about: --with-rmt='$(sbindir)/rmt' That should work just as well.
Created attachment 329934 [details, diff] Patch to build on non-GNU compilers Add upstream bug URL
(In reply to comment #6) assuming you change the ebuild as suggested, feel free to commit
(In reply to comment #5) > (In reply to comment #4) > > Comment on attachment 329928 [details, diff] [details, diff] [details, diff] > > patch to cpio-2.11.ebuild > > > > >+ --with-rmt="${EPREFIX}"/usr/sbin/rmt > > > > how about: --with-rmt='$(sbindir)/rmt' > > That should work just as well. I was wrong -- configure fails with "error: Argument to --with-rmt must be an absolute file name"
(In reply to comment #8) hrm, i've sent the paxutils guy a patch. but in the meantime, this patch is OK.
Patch added by me.