diff options
author | Ashish SHUKLA <ashish@FreeBSD.org> | 2022-05-07 07:11:42 +0000 |
---|---|---|
committer | Ashish SHUKLA <ashish@FreeBSD.org> | 2022-05-07 07:37:32 +0000 |
commit | 2aca44cf12b81a7e09761d3fb7467d81fcbf425b (patch) | |
tree | a4acd53680edf69cf4f4a90d339926e52d6f00ee | |
parent | c368fc5d1d7ee7a803d62bd71091ba426f12ef46 (diff) | |
download | ports-2aca44cf12b81a7e09761d3fb7467d81fcbf425b.tar.gz ports-2aca44cf12b81a7e09761d3fb7467d81fcbf425b.zip |
irc/soju: Depend on system-wide sqlite3
Reported by: diizzy
-rw-r--r-- | irc/soju/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/irc/soju/Makefile b/irc/soju/Makefile index a36e2b4c9848..93cdd7b7810d 100644 --- a/irc/soju/Makefile +++ b/irc/soju/Makefile @@ -1,7 +1,7 @@ PORTNAME= soju DISTVERSIONPREFIX= v DISTVERSION= 0.4.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= irc MASTER_SITES= https://git.sr.ht/~emersion/go-scfg/archive/:goscfg \ https://git.sr.ht/~sircmpwn/go-bare/archive/:gobare @@ -14,7 +14,7 @@ COMMENT= IRC bouncer LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:modules +USES= go:modules sqlite:3 OPTIONS_DEFAULT= DOCS OPTIONS_DEFINE= DOCS @@ -45,6 +45,8 @@ GH_TUPLE= beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ GO_BARE_REV= ab86bc2846d9 GO_SCFG_REV= c2c7a15d6c99 +GO_BUILDFLAGS+= -tags=libsqlite3 +CGO_LDFLAGS+= -lsqlite3 GO_PKGNAME= ./cmd/soju ./cmd/sojuctl ./contrib/znc-import.go PLIST_FILES= bin/soju \ bin/sojuctl \ |