summaryrefslogtreecommitdiff
path: root/net-misc/obligator
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/obligator')
-rw-r--r--net-misc/obligator/obligator-0.3.0_p20240910-r1.ebuild (renamed from net-misc/obligator/obligator-0.3.0_p20240910.ebuild)8
1 files changed, 8 insertions, 0 deletions
diff --git a/net-misc/obligator/obligator-0.3.0_p20240910.ebuild b/net-misc/obligator/obligator-0.3.0_p20240910-r1.ebuild
index d7bf8bc..9b97b1f 100644
--- a/net-misc/obligator/obligator-0.3.0_p20240910.ebuild
+++ b/net-misc/obligator/obligator-0.3.0_p20240910-r1.ebuild
@@ -16,8 +16,16 @@ LICENSE="MIT"
LICENSE+=" BSD"
SLOT="0"
KEYWORDS="~amd64"
+IUSE="+sqlite"
+
+RDEPEND="
+ sqlite? ( dev-db/sqlite:3 )
+"
src_compile() {
+ if use sqlite; then
+ GOFLAGS+=" -tags=libsqlite3"
+ fi
ego build ./cmd/obligator/
}