mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
net-misc/gmid: update 9999
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -10,7 +10,7 @@ DESCRIPTION="Simple and secure Gemini server"
|
||||
HOMEPAGE="https://www.omarpolo.com/pages/gmid.html"
|
||||
EGIT_REPO_URI="https://github.com/omar-polo/${PN}.git https://git.omarpolo.com/${PN}"
|
||||
|
||||
LICENSE="ISC"
|
||||
LICENSE="BSD ISC MIT"
|
||||
SLOT="0"
|
||||
IUSE="+seccomp test"
|
||||
RESTRICT="
|
||||
@@ -20,6 +20,7 @@ RESTRICT="
|
||||
|
||||
DEPEND="
|
||||
acct-user/gemini
|
||||
dev-libs/imsg-compat
|
||||
dev-libs/libevent
|
||||
dev-libs/libretls
|
||||
"
|
||||
@@ -33,18 +34,14 @@ DOCS=( README.md ChangeLog )
|
||||
|
||||
src_configure() {
|
||||
local conf_args
|
||||
tc-export CC
|
||||
|
||||
# note: not an autoconf configure script
|
||||
conf_args=(
|
||||
CC="$(tc-getCC)"
|
||||
PREFIX="${EPREFIX}"/usr/share
|
||||
BINDIR="${EPREFIX}"/usr/bin
|
||||
CFLAGS="${CFLAGS}"
|
||||
LDFLAGS="${LDFLAGS} -ltls -lssl -lcrypto -levent"
|
||||
$(use_enable seccomp sandbox)
|
||||
)
|
||||
if ! use seccomp ; then
|
||||
conf_args+=( --disable-sandbox )
|
||||
fi
|
||||
|
||||
./configure "${conf_args[@]}" || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user