commit: 06b8dc37062e8f83f08a447e6af2ba4253da4569 Author: Markos Chandras <hwoarang <AT> gentoo <DOT> org> AuthorDate: Tue Mar 17 21:09:06 2015 +0000 Commit: Markos Chandras <hwoarang <AT> gentoo <DOT> org> CommitDate: Tue Mar 17 21:11:49 2015 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=06b8dc37
ebuild-writing: src_configure: Replace src_compile with src_configure The src_configure function exists since EAPI=2 so we should use that one to perform any sort of package configuration. X-Gentoo-Bug: 542308 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=542308 ebuild-writing/functions/src_configure/configuring/text.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebuild-writing/functions/src_configure/configuring/text.xml b/ebuild-writing/functions/src_configure/configuring/text.xml index 677334e..4ae1101 100644 --- a/ebuild-writing/functions/src_configure/configuring/text.xml +++ b/ebuild-writing/functions/src_configure/configuring/text.xml @@ -63,7 +63,7 @@ src_configure() { # ... } -src_compile() { +src_configure() { econf $(use_with X x11 ) } </codesample>