diff options
author | iarspider <iarspider@gmail.com> | 2022-11-10 11:20:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 11:20:32 +0100 |
commit | 30ffd6d33e962639005399dd4b1012425d78e3a8 (patch) | |
tree | a669e79f2821657fce18a9438b87efc20be7dc86 | |
parent | c1aec72f60d7d1b74c957636b85177bc6faf056a (diff) | |
download | spack-30ffd6d33e962639005399dd4b1012425d78e3a8.tar.gz spack-30ffd6d33e962639005399dd4b1012425d78e3a8.tar.bz2 spack-30ffd6d33e962639005399dd4b1012425d78e3a8.tar.xz spack-30ffd6d33e962639005399dd4b1012425d78e3a8.zip |
dcap: add variant ~plugins: Disables the build of plugins (#33524)
-rw-r--r-- | var/spack/repos/builtin/packages/dcap/package.py | 6 |
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") |