summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-09 04:46:56 +0000
committerSam James <sam@gentoo.org>2021-11-09 04:54:55 +0000
commit9be94fd345dadf757cc2d556474a14674cbb8419 (patch)
tree4bc06b434a56a27709a0aac6900f292f0042a692 /dev-libs/bemenu
parentapp-text/bibclean: drop 2.17 (diff)
downloadgentoo-9be94fd345dadf757cc2d556474a14674cbb8419.tar.gz
gentoo-9be94fd345dadf757cc2d556474a14674cbb8419.tar.bz2
gentoo-9be94fd345dadf757cc2d556474a14674cbb8419.zip
dev-libs/bemenu: don't call CC directly; sync live ebuild
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/bemenu')
-rw-r--r--dev-libs/bemenu/bemenu-0.6.3.ebuild4
-rw-r--r--dev-libs/bemenu/bemenu-9999.ebuild8
2 files changed, 10 insertions, 2 deletions
diff --git a/dev-libs/bemenu/bemenu-0.6.3.ebuild b/dev-libs/bemenu/bemenu-0.6.3.ebuild
index 9216ec102209..9618113b5736 100644
--- a/dev-libs/bemenu/bemenu-0.6.3.ebuild
+++ b/dev-libs/bemenu/bemenu-0.6.3.ebuild
@@ -3,6 +3,8 @@
EAPI=8
+inherit toolchain-funcs
+
DESCRIPTION="dmenu clone for wayland"
HOMEPAGE="https://github.com/Cloudef/bemenu"
if [[ ${PV} == 9999 ]]; then
@@ -41,6 +43,8 @@ RDEPEND="${DEPEND}"
BDEPEND="doc? ( app-doc/doxygen )"
src_compile() {
+ tc-export CC
+
emake clients $(usex ncurses curses "") $(usex X x11 "") $(usex wayland wayland "") PREFIX=/usr libdir=/$(get_libdir)
use doc && emake doxygen PREFIX=/usr libdir=/$(get_libdir)
}
diff --git a/dev-libs/bemenu/bemenu-9999.ebuild b/dev-libs/bemenu/bemenu-9999.ebuild
index e7510494e8a6..9618113b5736 100644
--- a/dev-libs/bemenu/bemenu-9999.ebuild
+++ b/dev-libs/bemenu/bemenu-9999.ebuild
@@ -1,7 +1,9 @@
-# Copyright 2019-2020 Gentoo Authors
+# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
+
+inherit toolchain-funcs
DESCRIPTION="dmenu clone for wayland"
HOMEPAGE="https://github.com/Cloudef/bemenu"
@@ -41,6 +43,8 @@ RDEPEND="${DEPEND}"
BDEPEND="doc? ( app-doc/doxygen )"
src_compile() {
+ tc-export CC
+
emake clients $(usex ncurses curses "") $(usex X x11 "") $(usex wayland wayland "") PREFIX=/usr libdir=/$(get_libdir)
use doc && emake doxygen PREFIX=/usr libdir=/$(get_libdir)
}