diff options
author | 2024-01-12 15:28:38 -0500 | |
---|---|---|
committer | 2024-01-22 06:29:16 -0500 | |
commit | 2148a94fe09813e61c5578a180c142c0bcda5fbb (patch) | |
tree | 02348deb5c19c44c8101bbbac2052754995da841 /eclass | |
parent | dev-gap/semigroups: new package, add 5.3.2 (diff) | |
download | gentoo-2148a94fe09813e61c5578a180c142c0bcda5fbb.tar.gz gentoo-2148a94fe09813e61c5578a180c142c0bcda5fbb.tar.bz2 gentoo-2148a94fe09813e61c5578a180c142c0bcda5fbb.zip |
eclass/gap-pkg.eclass: improve configure script wording
Instead of the potentially pejorative "real" and "fake", call the two
types of ./configure script "autoconf" or "hand-written."
Suggested-by: Max Horn <horn@mathematik.uni-kl.de>
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/gap-pkg.eclass | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/eclass/gap-pkg.eclass b/eclass/gap-pkg.eclass index 96e713a654a1..83173dce7f92 100644 --- a/eclass/gap-pkg.eclass +++ b/eclass/gap-pkg.eclass @@ -99,8 +99,8 @@ gap-pkg_dir() { # @DESCRIPTION: # The directory containing sysinfo.gap. This is frequently passed to GAP # packages via ./configure --with-gaproot or as a positional argument to -# the old-style fake configure scripts. We also use it to find the value -# of $GAParch, which is contained in sysinfo.gap. The "gaproot" is +# hand-written configure scripts. We also use it to find the value of +# $GAParch, which is contained in sysinfo.gap. The "gaproot" is # implicitly determined by the econf call in sci-mathematics/gap. As a # result, calling this function requires sci-mathematics/gap at # build-time. @@ -124,7 +124,7 @@ _gap-pkg_gaparch() { # @USAGE: [extra econf args] # @DESCRIPTION: # Call econf with the standard GAP package arguments that should be -# passed to a real ./configure script: +# passed to an autoconf ./configure script: # # 1. GAP uses the ABI variable internally so we have to unset it. # 2. We pass the value of _gap-pkg_gaproot to --with-gaproot. @@ -151,19 +151,19 @@ gap-pkg_econf() { # @FUNCTION: gap-pkg_src_configure # @USAGE: # @DESCRIPTION: -# Handle both "real" configure script and the fake "old-style" ones -# still used by many GAP packages. We determine which one we're dealing -# with by running ./configure --help; an autoconf configure script will -# mention "PREFIX" in the output, a fake one will not. +# Handle both autoconf configure scripts and the hand-written ones used +# by many GAP packages. We determine which one we're dealing with by +# running ./configure --help; an autoconf configure script will mention +# "PREFIX" in the output, the others will not. # -# Real configure scripts are configured using gap-pkg_econf, fake ones -# are executed directly with _gap-pkg_gaproot as their sole positional -# argument. +# Autoconf configure scripts are configured using gap-pkg_econf, while +# hand-written ones are executed directly with _gap-pkg_gaproot as their +# sole positional argument. gap-pkg_src_configure() { local _configure="${ECONF_SOURCE:-.}/configure" if [[ -x ${_configure} ]] ; then if ${_configure} --help | grep PREFIX &>/dev/null; then - # This is a real ./configure script + # This is an autoconf ./configure script gap-pkg_econf else # It's an "old-style" handwritten script that does |