Skip to content

Commit a8756ae

Browse files
lpoirelalecbcs
andauthored
emacs: add sqlite variant for v29.1 and newer (spack#1654)
Co-authored-by: Alec Scott <[email protected]>
1 parent 9c985d5 commit a8756ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

repos/spack_repo/builtin/packages/emacs/package.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ class Emacs(AutotoolsPackage, GNUMirrorPackage):
6363
)
6464
variant("json", default=False, when="@27:", description="Build with json support")
6565
variant("native", default=False, when="@28:", description="Enable native compilation of elisp")
66+
variant("sqlite", default=False, when="@29.1:", description="Build with sqlite3 support")
6667
variant("tls", default=True, description="Build with gnutls support")
6768
variant("treesitter", default=False, when="@29:", description="Build with tree-sitter support")
6869

@@ -90,6 +91,7 @@ class Emacs(AutotoolsPackage, GNUMirrorPackage):
9091
depends_on("tree-sitter", when="+treesitter")
9192
depends_on("gcc@11: +strip languages=jit", when="+native")
9293
depends_on("[email protected]:", when="+json")
94+
depends_on("sqlite@3", when="+sqlite")
9395

9496
# GUI dependencies
9597
with when("gui=x11"):

0 commit comments

Comments
 (0)