summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2020-11-08 17:13:27 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2020-11-08 17:35:35 +0300
commitc5f4621f3787eca11e2673bfaf964c8fa2b22ae8 (patch)
tree99255747e0a0826d9addba970ef9d11c85705717 /app-admin/clsync
parentxfce-extra/xfce4-screensaver: Bump to 0.1.11 (diff)
downloadgentoo-c5f4621f3787eca11e2673bfaf964c8fa2b22ae8.tar.gz
gentoo-c5f4621f3787eca11e2673bfaf964c8fa2b22ae8.tar.bz2
gentoo-c5f4621f3787eca11e2673bfaf964c8fa2b22ae8.zip
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@gentoo.org>
Diffstat (limited to 'app-admin/clsync')
-rw-r--r--app-admin/clsync/clsync-9999.ebuild5
-rw-r--r--app-admin/clsync/metadata.xml1
2 files changed, 4 insertions, 2 deletions
diff --git a/app-admin/clsync/clsync-9999.ebuild b/app-admin/clsync/clsync-9999.ebuild
index 05e00ff84f2b..c17448327bb2 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 fd64593a2778..39a9cda50e2d 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>