commit: c5f4621f3787eca11e2673bfaf964c8fa2b22ae8
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 8 14:13:27 2020 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sun Nov 8 14:35:35 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5f4621f
app-admin/clsync: update live ebuild to reflect upstream changes
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
app-admin/clsync/clsync-9999.ebuild | 5 +++--
app-admin/clsync/metadata.xml | 1 +
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/app-admin/clsync/clsync-9999.ebuild
b/app-admin/clsync/clsync-9999.ebuild
index 05e00ff84f2..c17448327bb 100644
--- a/app-admin/clsync/clsync-9999.ebuild
+++ b/app-admin/clsync/clsync-9999.ebuild
@@ -8,7 +8,7 @@ if [[ ${PV} == "9999" ]] ; then
inherit git-r3
KEYWORDS=""
else
- SRC_URI="https://github.com/clsync/${MY_PN}/archive/v${PV}.tar.gz ->
${MY_P}.tar.gz"
+ SRC_URI="https://github.com/clsync/${PN}/archive/v${PV}.tar.gz ->
${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
@@ -20,7 +20,7 @@ LICENSE="GPL-3+"
SLOT="0"
IUSE="apidoc +caps +clsync cluster control-socket cgroups doc debug
examples extra-debug extra-hardened gio +hardened +highload-locks
-+inotify mhash namespaces seccomp socket-library static-libs"
++inotify +lto mhash namespaces seccomp socket-library static-libs"
REQUIRED_USE="
|| ( clsync socket-library )
@@ -76,6 +76,7 @@ src_configure() {
$(use_enable cluster) \
$(use_enable control-socket socket) \
$(use_enable highload-locks) \
+ $(use_enable lto) \
$(use_enable namespaces unshare) \
$(use_enable seccomp) \
$(use_enable socket-library) \
diff --git a/app-admin/clsync/metadata.xml b/app-admin/clsync/metadata.xml
index fd64593a277..39a9cda50e2 100644
--- a/app-admin/clsync/metadata.xml
+++ b/app-admin/clsync/metadata.xml
@@ -24,6 +24,7 @@
<flag name="extra-hardened">Enable extra security checks. This will hurt
performance.</flag>
<flag name="gio">Enable GIO for FS monitoring (glib based alternative to
inotify interface, not recommended; if both are compiled, may be selected at
runtime).</flag>
<flag name="highload-locks">Allows to use spinlocks for short delays
instead of mutexes, but only on SMP systems.</flag>
+ <flag name="lto">Build with link time optimization (LTO).</flag>
<flag name="namespaces">Enable namespaces isolation.</flag>
<flag name="socket-library">Build the control and monitoring socket
library: libclsync.</flag>
</use>