commit:     d70e31ee01a6a78b12b6582ba0663a61ca4979fd
Author:     epsilonKNOT <gentoo <AT> aisha <DOT> cc>
AuthorDate: Mon Nov 23 12:24:57 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Nov 23 12:24:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d70e31ee

net-misc/purritobin: fix direct CXX call

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 net-misc/purritobin/purritobin-0.3.0.ebuild | 7 +++++++
 net-misc/purritobin/purritobin-9999.ebuild  | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/net-misc/purritobin/purritobin-0.3.0.ebuild 
b/net-misc/purritobin/purritobin-0.3.0.ebuild
index 42d88a35..f8a74b7c 100644
--- a/net-misc/purritobin/purritobin-0.3.0.ebuild
+++ b/net-misc/purritobin/purritobin-0.3.0.ebuild
@@ -6,6 +6,8 @@ EAPI=7
 DESCRIPTION="minimalistic commandline pastebin"
 HOMEPAGE="https://bsd.ac";
 
+inherit toolchain-funcs
+
 if [[ ${PV} == 9999 ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/PurritoBin/PurritoBin.git";
@@ -23,6 +25,11 @@ DEPEND="${RDEPEND}
        www-apps/uwebsockets
 "
 
+src_configure() {
+       default
+       tc-export CXX
+}
+
 src_install() {
        emake PREFIX="/usr" DESTDIR="${ED}" install
        einstalldocs

diff --git a/net-misc/purritobin/purritobin-9999.ebuild 
b/net-misc/purritobin/purritobin-9999.ebuild
index 42d88a35..f8a74b7c 100644
--- a/net-misc/purritobin/purritobin-9999.ebuild
+++ b/net-misc/purritobin/purritobin-9999.ebuild
@@ -6,6 +6,8 @@ EAPI=7
 DESCRIPTION="minimalistic commandline pastebin"
 HOMEPAGE="https://bsd.ac";
 
+inherit toolchain-funcs
+
 if [[ ${PV} == 9999 ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/PurritoBin/PurritoBin.git";
@@ -23,6 +25,11 @@ DEPEND="${RDEPEND}
        www-apps/uwebsockets
 "
 
+src_configure() {
+       default
+       tc-export CXX
+}
+
 src_install() {
        emake PREFIX="/usr" DESTDIR="${ED}" install
        einstalldocs

Reply via email to