Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399441 - app-benchmarks/ioping-0.6 gets installed into /usr/local
Summary: app-benchmarks/ioping-0.6 gets installed into /usr/local
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-20 01:01 UTC by Jan Psota
Modified: 2012-01-21 09:53 UTC (History)
1 user (show)

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


Attachments
ebuild patch proposal (ioping-0.6.ebuild.patch,348 bytes, text/plain)
2012-01-20 01:01 UTC, Jan Psota
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Psota 2012-01-20 01:01:04 UTC
Created attachment 299347 [details]
ebuild patch proposal

because of implicit setting of PREFIX in Makefile.

I propose solution with sed - in attachment.
Using:
    sed -i 's/^\(PREFIX\)=/\1?=/' Makefile
instead of:
    sed -i s:/usr/local:/usr: Makefile
would be more elegant maybe, but we would have to set
PREFIX in src_install too.

Very useful program! (two weeks earlier I was wondering how
to write something to benchmark HDD/SSD, and now I see: it just is :-)
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-01-20 18:10:10 UTC
Fixed in -r1 (without altering the Makefile).
Comment 2 Jan Psota 2012-01-20 21:15:41 UTC
(In reply to comment #1)
> Fixed in -r1 (without altering the Makefile).

A bit longer, but the right way :-)
(Sorry. Now I will know ?= wasn't needed.)
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2012-01-21 09:53:12 UTC
That was a real bad one. THanks for heads up and a clap for me. Thanks Jeroen for the fix.