diff options
author | Michał Górny <mgorny@gentoo.org> | 2014-08-17 20:13:48 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2014-12-04 15:01:34 +0100 |
commit | 00d20f0ee71c59a0cdd75aa79705ed739990ff85 (patch) | |
tree | 656cc726da6b8fe59e0352af61a20aab32b60ce9 /bin/eapi.sh | |
parent | Add tentative support for EAPI6 --docdir and --htmldir (diff) | |
download | portage-00d20f0ee71c59a0cdd75aa79705ed739990ff85.tar.gz portage-00d20f0ee71c59a0cdd75aa79705ed739990ff85.tar.bz2 portage-00d20f0ee71c59a0cdd75aa79705ed739990ff85.zip |
Add tentative support for EAPI6 get_libdir()
Add get_libdir() function to obtain the basename of libdir using
the same algorithm that econf uses.
Diffstat (limited to 'bin/eapi.sh')
-rw-r--r-- | bin/eapi.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/eapi.sh b/bin/eapi.sh index 5f96c3b02..6ace20d10 100644 --- a/bin/eapi.sh +++ b/bin/eapi.sh @@ -64,6 +64,10 @@ ___eapi_has_usex() { [[ ! ${1-${EAPI}} =~ ^(0|1|2|3|4|4-python|4-slot-abi)$ ]] } +___eapi_has_get_libdir() { + [[ ! ${1-${EAPI}} =~ ^(0|1|2|3|4|4-python|4-slot-abi|5|5-hdepend|5-progress)$ ]] +} + ___eapi_has_master_repositories() { [[ ${1-${EAPI}} =~ ^(5-progress)$ ]] } |