summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Lee <lee218@llnl.gov>2022-10-13 11:51:28 -0700
committerGitHub <noreply@github.com>2022-10-13 11:51:28 -0700
commitfeb1f3aadb160fc64fc86fa4dd58a698468f77e3 (patch)
tree74f968100964fa6601c7b806c9cfa44db8b97e90
parent8ce1574e0cd88cfa14391cf3c9362813109e9363 (diff)
downloadspack-feb1f3aadb160fc64fc86fa4dd58a698468f77e3.tar.gz
spack-feb1f3aadb160fc64fc86fa4dd58a698468f77e3.tar.bz2
spack-feb1f3aadb160fc64fc86fa4dd58a698468f77e3.tar.xz
spack-feb1f3aadb160fc64fc86fa4dd58a698468f77e3.zip
libcroco does not respect gtk-doc configure flag, so removing variant (#32890)
* libcroco does not respect gtk-doc configure flag, so removing variant
-rw-r--r--var/spack/repos/builtin/packages/libcroco/package.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/libcroco/package.py b/var/spack/repos/builtin/packages/libcroco/package.py
index 2f1a5f07c2..56230050aa 100644
--- a/var/spack/repos/builtin/packages/libcroco/package.py
+++ b/var/spack/repos/builtin/packages/libcroco/package.py
@@ -15,16 +15,18 @@ class Libcroco(AutotoolsPackage):
version("0.6.13", sha256="767ec234ae7aa684695b3a735548224888132e063f92db585759b422570621d4")
version("0.6.12", sha256="ddc4b5546c9fb4280a5017e2707fbd4839034ed1aba5b7d4372212f34f84f860")
- variant("doc", default=False, description="Build documentation with gtk-doc")
+ # libcroco has a --enable-gtk-doc configure flag that appears to be
+ # ignored as of version 0.6.13. Until that flag is honored, the +doc
+ # variant is a no-op
+ # variant("doc", default=False,
+ # description="Build documentation with gtk-doc")
depends_on("glib")
depends_on("libxml2")
- depends_on("gtk-doc", type="build", when="+doc")
+ depends_on("gtk-doc", type="build")
depends_on("pkgconfig", type="build")
def configure_args(self):
- args = ["--enable-gtk-doc=" + ("yes" if self.spec.variants["doc"].value else "no")]
# macOS ld does not support this flag
# https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/libcroco.rb
- args.append("--disable-Bsymbolic")
- return args
+ return ["--disable-Bsymbolic"]