diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-17 16:57:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-17 16:57:03 +0000 |
commit | 1fca4db26fb13c520980473abebd51f620d34531 (patch) | |
tree | bc3154f63a706e2b2583aeccb63997197e112c23 /net-irc/soju/soju-0.6.2.ebuild | |
parent | 27cf8f197a427c1c71255f86149344e3bf1be47d (diff) |
gentoo auto-resync : 17:11:2023 - 16:57:03
Diffstat (limited to 'net-irc/soju/soju-0.6.2.ebuild')
-rw-r--r-- | net-irc/soju/soju-0.6.2.ebuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/net-irc/soju/soju-0.6.2.ebuild b/net-irc/soju/soju-0.6.2.ebuild index c46ca0fef568..2768e43d3193 100644 --- a/net-irc/soju/soju-0.6.2.ebuild +++ b/net-irc/soju/soju-0.6.2.ebuild @@ -26,19 +26,22 @@ RDEPEND=" DEPEND="${RDEPEND}" src_compile() { - # musl removed legacy LFS64 interfaces in version 1.2.4 - # temporarily reenabled using _LARGEFILE64_SOURCE until - # this is resolved upstream - # https://github.com/mattn/go-sqlite3/issues/1164 - append-cflags "-D_LARGEFILE64_SOURCE" - + # musl removed legacy LFS64 interfaces in version 1.2.4 temporarily + # reenabled using _LARGEFILE64_SOURCE until this is resolved + # upstream https://github.com/mattn/go-sqlite3/issues/1164 + CGO_CFLAGS="${CGO_CFLAGS}" if use sqlite; then GOFLAGS+=" -tags=libsqlite3" + CGO_CFLAGS="-D_LARGEFILE64_SOURCE" elif use moderncsqlite; then GOFLAGS+=" -tags=moderncsqlite" + CGO_CFLAGS="-D_LARGEFILE64_SOURCE" else GOFLAGS+=" -tags=nosqlite" fi + # Only way to pass CFLAGS to CGO at the + # moment. https://github.com/gentoo/gentoo/pull/33539/ + export CGO_CFLAGS use pam && GOFLAGS+=" -tags=pam" ego build ${GOFLAGS} ./cmd/soju |