commit: f5c32783df86fbdb63a4b333039764aa66fbb2fc
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 2 07:01:27 2021 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Apr 10 07:02:11 2021 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=f5c32783
general-concepts/use-flags: Change example to src_configure()
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
general-concepts/use-flags/text.xml | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/general-concepts/use-flags/text.xml
b/general-concepts/use-flags/text.xml
index 8953b87..54675f3 100644
--- a/general-concepts/use-flags/text.xml
+++ b/general-concepts/use-flags/text.xml
@@ -297,7 +297,7 @@ GnuTLS is more featureful than OpenSSL, it is favoured:
</p>
<codesample lang="ebuild">
-src_compile() {
+src_configure() {
local myconf
if use ssl && use gnutls ; then
@@ -311,8 +311,6 @@ src_compile() {
econf \
# Other stuff
${myconf}
-
- emake
}
</codesample>