app-admin/sysstat: Add USE=static by Gwendal Grignou.

Package-Manager: portage-2.2.25
This commit is contained in:
Jeroen Roovers
2015-11-24 21:58:43 +01:00
parent e8b90e18ab
commit fa3d093a11
2 changed files with 9 additions and 4 deletions
+5 -2
View File
@@ -3,7 +3,7 @@
# $Id$
EAPI=5
inherit eutils multilib systemd toolchain-funcs
inherit eutils flag-o-matic multilib systemd toolchain-funcs
DESCRIPTION="System performance tools for Linux"
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
@@ -12,7 +12,7 @@ SRC_URI="${HOMEPAGE}${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE="debug +doc isag nls lm_sensors selinux"
IUSE="debug +doc isag nls lm_sensors selinux static"
CDEPEND="
isag? (
@@ -46,6 +46,7 @@ src_prepare() {
fi
done
fi
epatch \
"${FILESDIR}"/${PN}-10.0.4-flags.patch \
"${FILESDIR}"/${PN}-11.0.4-cron.patch
@@ -53,6 +54,8 @@ src_prepare() {
src_configure() {
tc-export AR
use static && append-ldflags -static
sa_lib_dir=/usr/$(get_libdir)/sa \
conf_dir=/etc \
rcdir=${SYSSTAT_FAKE_RC_DIR} \
+4 -2
View File
@@ -3,7 +3,7 @@
# $Id$
EAPI=5
inherit eutils multilib systemd toolchain-funcs
inherit eutils flag-o-matic multilib systemd toolchain-funcs
DESCRIPTION="System performance tools for Linux"
HOMEPAGE="http://pagesperso-orange.fr/sebastien.godard/"
@@ -12,7 +12,7 @@ SRC_URI="${HOMEPAGE}${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="debug +doc isag nls lm_sensors selinux"
IUSE="debug +doc isag nls lm_sensors selinux static"
CDEPEND="
isag? (
@@ -53,6 +53,8 @@ src_prepare() {
src_configure() {
tc-export AR
use static && append-ldflags -static
sa_lib_dir=/usr/$(get_libdir)/sa \
conf_dir=/etc \
rcdir=${SYSSTAT_FAKE_RC_DIR} \