summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-02-08 18:42:09 -0500
committerMike Frysinger <vapier@gentoo.org>2016-02-08 18:42:20 -0500
commit5ce6a8a3b588eadfcf4c0f67e207b0fede31b0e9 (patch)
tree690a49692ed1bbe90f53bdfe8f99a0095aa1b6ee /sys-fs/mdadm
parentsci-biology/abyss: fix automagic haskell deps, bug #534412 (diff)
downloadgentoo-5ce6a8a3b588eadfcf4c0f67e207b0fede31b0e9.tar.gz
gentoo-5ce6a8a3b588eadfcf4c0f67e207b0fede31b0e9.tar.bz2
gentoo-5ce6a8a3b588eadfcf4c0f67e207b0fede31b0e9.zip
sys-fs/mdadm: disable corosync & libdlm autodetection #573782
Diffstat (limited to 'sys-fs/mdadm')
-rw-r--r--sys-fs/mdadm/mdadm-3.4.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-fs/mdadm/mdadm-3.4.ebuild b/sys-fs/mdadm/mdadm-3.4.ebuild
index 88431e15c5cb..a4aff3eb858e 100644
--- a/sys-fs/mdadm/mdadm-3.4.ebuild
+++ b/sys-fs/mdadm/mdadm-3.4.ebuild
@@ -25,6 +25,7 @@ RDEPEND=">=sys-apps/util-linux-2.16"
RESTRICT="test"
mdadm_emake() {
+ # We should probably make corosync & libdlm into USE flags. #573782
emake \
PKG_CONFIG="$(tc-getPKG_CONFIG)" \
CC="$(tc-getCC)" \
@@ -32,6 +33,8 @@ mdadm_emake() {
CXFLAGS="${CFLAGS}" \
UDEVDIR="$(get_udevdir)" \
SYSTEMD_DIR="$(systemd_get_unitdir)" \
+ COROSYNC="-DNO_COROSYNC" \
+ DLM="-DNO_DLM" \
"$@"
}