commit:     bb3db05a5fb22e013893777ed5ad1cb03e138e99
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 15:51:21 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Jan 22 11:29:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb3db05a

gap-pkg.eclass: drop internal _gap-pkg_gaparch function

Since removing the --bindir and --libdir flags from the default econf,
this function is unused.

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 eclass/gap-pkg.eclass | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/eclass/gap-pkg.eclass b/eclass/gap-pkg.eclass
index 0423c9e54ef2..cc80d5bf1ba8 100644
--- a/eclass/gap-pkg.eclass
+++ b/eclass/gap-pkg.eclass
@@ -108,18 +108,6 @@ _gap-pkg_gaproot() {
        echo "${ESYSROOT}/usr/$(get_libdir)/gap"
 }
 
-# @FUNCTION: _gap-pkg_gaparch
-# @INTERNAL
-# @USAGE:
-# @DESCRIPTION:
-# Return the variable $GAParch from sysinfo.gap. GAP packages put their
-# executables and libraries in bin/$GAParch, and to accomplish that, we
-# sometimes need to pass $GAParch to the build system.
-_gap-pkg_gaparch() {
-       # Use a subshell so we don't pollute the environment.
-       ( . $(_gap-pkg_gaproot)/sysinfo.gap && echo "${GAParch}" )
-}
-
 # @FUNCTION: gap-pkg_econf
 # @USAGE: [extra econf args]
 # @DESCRIPTION:

Reply via email to