commit:     9382c22fd671cafd6d7edb407c127726bfafbc9a
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Jul  7 18:17:50 2021 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Jul  7 18:24:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9382c22f

net-misc/gmid: update 9999

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 net-misc/gmid/gmid-9999.ebuild | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/net-misc/gmid/gmid-9999.ebuild b/net-misc/gmid/gmid-9999.ebuild
index 4818aacdb..a255941c3 100644
--- a/net-misc/gmid/gmid-9999.ebuild
+++ b/net-misc/gmid/gmid-9999.ebuild
@@ -10,7 +10,7 @@ DESCRIPTION="Simple and secure Gemini server"
 HOMEPAGE="https://www.omarpolo.com/pages/gmid.html";
 EGIT_REPO_URI="https://github.com/omar-polo/${PN}.git 
https://git.omarpolo.com/${PN}";
 
-LICENSE="ISC"
+LICENSE="BSD ISC MIT"
 SLOT="0"
 IUSE="+seccomp test"
 RESTRICT="
@@ -20,6 +20,7 @@ RESTRICT="
 
 DEPEND="
        acct-user/gemini
+       dev-libs/imsg-compat
        dev-libs/libevent
        dev-libs/libretls
 "
@@ -33,18 +34,14 @@ DOCS=( README.md ChangeLog )
 
 src_configure() {
        local conf_args
+       tc-export CC
 
        # note: not an autoconf configure script
        conf_args=(
-               CC="$(tc-getCC)"
                PREFIX="${EPREFIX}"/usr/share
                BINDIR="${EPREFIX}"/usr/bin
-               CFLAGS="${CFLAGS}"
-               LDFLAGS="${LDFLAGS} -ltls -lssl -lcrypto -levent"
+               $(use_enable seccomp sandbox)
        )
-       if ! use seccomp ; then
-               conf_args+=( --disable-sandbox )
-       fi
 
        ./configure "${conf_args[@]}" || die
 }

Reply via email to