summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/dcap/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dcap/package.py b/var/spack/repos/builtin/packages/dcap/package.py
index db8f7d42e7..745cab88b7 100644
--- a/var/spack/repos/builtin/packages/dcap/package.py
+++ b/var/spack/repos/builtin/packages/dcap/package.py
@@ -19,6 +19,12 @@ class Dcap(AutotoolsPackage):
depends_on("libtool", type="build")
depends_on("m4", type="build")
+ variant("plugins", default=True, description="Build plugins")
+
+ def patch(self):
+ if self.spec.satisfies("~plugins"):
+ filter_file("SUBDIRS = .*", "SUBDIRS = src", "Makefile.am")
+
def autoreconf(self, spec, prefix):
bash = which("bash")
bash("./bootstrap.sh")