diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-09 04:26:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-09 04:26:33 +0100 |
commit | 6ee17dd82a3bcd0e90af4ebfbb3e411d342761be (patch) | |
tree | 5ade54018efa76614b79d832bbe15a22021b6d8c /eclass/gap-pkg.eclass | |
parent | 325837835fc86686829aaa6acace3d3c06c74cea (diff) |
gentoo auto-resync : 09:10:2024 - 04:26:32
Diffstat (limited to 'eclass/gap-pkg.eclass')
-rw-r--r-- | eclass/gap-pkg.eclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/gap-pkg.eclass b/eclass/gap-pkg.eclass index e242cc92e8a3..70a8ed9f7607 100644 --- a/eclass/gap-pkg.eclass +++ b/eclass/gap-pkg.eclass @@ -42,6 +42,9 @@ # sci-mathematics/gap in DEPEND as well, and may also want a subslot # dependency. +if [[ -z ${_GAP_PKG_ECLASS} ]]; then +_GAP_PKG_ECLASS=1 + case ${EAPI} in 8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; @@ -381,8 +384,10 @@ gap-pkg_src_install() { # usual "find" command doesn't work here because occasionally we # find *.la files in GAP packages that are not libtool archives # and should not be deleted. - find "${ED%/}$(gap-pkg_dir)/bin" -type f -name '*.la' -delete || die + find "${ED}$(gap-pkg_dir)/bin" -type f -name '*.la' -delete || die fi } +fi + EXPORT_FUNCTIONS src_configure src_compile src_test src_install |