commit:     5cfe09ece13bd011e2bbf56d1482661268a2df93
Author:     Alfred Persson Forsberg <cat <AT> catcream <DOT> org>
AuthorDate: Wed Apr  5 18:37:50 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 10 02:51:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cfe09ec

net-irc/soju: add USE=pam for pam auth support

Signed-off-by: Alfred Persson Forsberg <cat <AT> catcream.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-irc/soju/soju-0.6.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net-irc/soju/soju-0.6.0.ebuild b/net-irc/soju/soju-0.6.0.ebuild
index f5b9f0231436..6a410939fdc3 100644
--- a/net-irc/soju/soju-0.6.0.ebuild
+++ b/net-irc/soju/soju-0.6.0.ebuild
@@ -13,6 +13,7 @@ SRC_URI+=" 
https://github.com/alfredfo/${PN}-deps/raw/master/${P}-deps.tar.xz";
 LICENSE="AGPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~riscv"
+IUSE="pam"
 
 BDEPEND="
        app-text/scdoc
@@ -25,6 +26,7 @@ DEPEND="${RDEPEND}"
 
 src_compile() {
        GOFLAGS+=" -tags=moderncsqlite"
+       use pam && GOFLAGS+=" -tags=pam"
 
        ego build ${GOFLAGS} ./cmd/soju
        ego build ${GOFLAGS} ./cmd/sojudb

Reply via email to