diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-25 08:07:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-25 08:07:03 +0000 |
commit | a1b20429e7e2ba1b44414459afd5a2b50788cd9c (patch) | |
tree | e721db30ecc3e534a03ab9b3115762959cc0c28c /dev-util/poke/poke-9999.ebuild | |
parent | dbbd2ae5e62a232616ede4dae3ed69e15903940a (diff) |
gentoo auto-resync : 25:01:2023 - 08:07:03
Diffstat (limited to 'dev-util/poke/poke-9999.ebuild')
-rw-r--r-- | dev-util/poke/poke-9999.ebuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/dev-util/poke/poke-9999.ebuild b/dev-util/poke/poke-9999.ebuild index 77f62ea257d8..80e149428e9b 100644 --- a/dev-util/poke/poke-9999.ebuild +++ b/dev-util/poke/poke-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit elisp-common flag-o-matic +inherit elisp-common flag-o-matic toolchain-funcs DESCRIPTION="Extensible editor for structured binary data" HOMEPAGE="https://www.jemarch.net/poke" @@ -20,7 +20,7 @@ if [[ ${PV} == 9999 ]]; then sys-devel/bison sys-devel/flex " -elif [[ $(ver_cut 2) -ge 90 || $(ver_cut 3) ]]; then +elif [[ $(ver_cut 2) -ge 90 || $(ver_cut 3) -ge 90 ]]; then SRC_URI="https://alpha.gnu.org/gnu/poke/${P}.tar.gz" REGEN_BDEPEND="" else @@ -50,6 +50,7 @@ DEPEND=" BDEPEND=" ${REGEN_BDEPEND} virtual/pkgconfig + pvm-profiling? ( sys-devel/gcc ) emacs? ( >=app-editors/emacs-23.1:* ) test? ( dev-util/dejagnu @@ -59,6 +60,12 @@ BDEPEND=" SITEFILE="50${PN}-gentoo.el" +pkg_pretend() { + if use pvm-profiling && ! tc-is-gcc; then + die "USE=pvm-profiling requires GCC" + fi +} + pkg_setup() { use emacs && elisp-check-emacs-version } |