summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorZurab Kvachadze <zurabid2016@gmail.com>2025-11-04 03:46:23 +0100
committerSam James <sam@gentoo.org>2025-11-13 12:33:10 +0000
commitc9e91f7b6e73fba520c5e9ba25d3b14004d31099 (patch)
tree29228abfcafd007d6309fa62bf3b4fe10f7237bf /eclass
parentfffbf942fc40a82d37746e70c061864aefa116f5 (diff)
downloadgentoo-c9e91f7b6e73fba520c5e9ba25d3b14004d31099.tar.gz
gentoo-c9e91f7b6e73fba520c5e9ba25d3b14004d31099.tar.bz2
gentoo-c9e91f7b6e73fba520c5e9ba25d3b14004d31099.zip
nginx-module.eclass: Tiny documentation improvements
Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44576 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/nginx-module.eclass9
1 files changed, 5 insertions, 4 deletions
diff --git a/eclass/nginx-module.eclass b/eclass/nginx-module.eclass
index 1c321cb80766..f17b7d4445be 100644
--- a/eclass/nginx-module.eclass
+++ b/eclass/nginx-module.eclass
@@ -72,7 +72,7 @@
# RDEPEND="${DEPEND}"
#
# src_configure() {
-# if use iconv; Then
+# if use iconv; then
# ngx_mod_link_module "www-nginx/ngx-iconv"
# ...
# fi
@@ -381,8 +381,8 @@ S="${WORKDIR}/nginx"
# extension ".so"). For some modules, may consist of more than one shared
# object.
#
-# This variable is set in the nginx-module_src_compile() function. Its contents
-# are undefined before that.
+# This variable is set by the nginx-module_src_compile() phase function. Its
+# contents are undefined before the function has been called.
#
# Example value:
# @CODE
@@ -529,7 +529,8 @@ fi
# @FUNCTION: _ngx_mod_set_test_env
# @INTERNAL
# @DESCRIPTION:
-# Sets global variables like IUSE and BDEPEND for tests.
+# Sets global variables like IUSE and BDEPEND for OpenResty Test::Nginx-based
+# tests.
_ngx_mod_set_test_env() {
IUSE="test"
RESTRICT="!test? ( test )"