diff options
author | 2024-10-02 00:09:13 -0500 | |
---|---|---|
committer | 2024-10-02 00:09:13 -0500 | |
commit | 5fd6deb821344843cdef08de45b4264dc646fff6 (patch) | |
tree | fdeec789ef4a2cdbb2138cda48623060a0d6280d /net-misc | |
parent | net-misc/obligator: new package, add 0.3.0_p20240910 (diff) | |
download | ebuilds-5fd6deb821344843cdef08de45b4264dc646fff6.tar.xz |
net-misc/obligator: allow use of libsqlite3
Diffstat (limited to 'net-misc')
-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/ } |