Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542308 - src_configure page has an example where src_compile is mistakenly used instead of src_configure
Summary: src_configure page has an example where src_compile is mistakenly used instea...
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Devmanual (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Devmanual Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-05 23:26 UTC by Adam Feldman
Modified: 2015-03-17 21:13 UTC (History)
0 users

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 Adam Feldman gentoo-dev 2015-03-05 23:26:38 UTC
http://devmanual.gentoo.org/ebuild-writing/functions/src_configure/configuring/index.html

The last of the examples reads: 
src_compile() {
    econf $(use_with X x11 )
}
"

which should be src_configure
Comment 1 Adam Feldman gentoo-dev 2015-03-05 23:29:50 UTC
Just an update, read the next page, on src_compile, where EAPI=0,1 have configuration in src_compile.   I still think this item should be fixed because this page is a subpage of src_configure, and the src_compile page itself describes this.   If it is deemed that it should be left as on this page, text should be indicating the reason why it is there (namely EAPI=0,1)
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2015-03-17 21:13:25 UTC
Well that was a trivial patch so you could have created a git patch yourself so you can get used to contributing to devmanual :)

Either way this is fixed in git and will go live soon

http://gitweb.gentoo.org/proj/devmanual.git/commit/?id=06b8dc37062e8f83f08a447e6af2ba4253da4569