summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2024-10-03 18:59:35 -0500
committerGitHub <noreply@github.com>2024-10-03 19:59:35 -0400
commit8f5af6eb7aeb5a08851ade3f67fba140dc0d5dec (patch)
tree6974d5819aa5c35fcf3efa6f630b0761025d8f2d
parentd3a0904790205bbd93ab2be312949792fe745739 (diff)
downloadspack-8f5af6eb7aeb5a08851ade3f67fba140dc0d5dec.tar.gz
spack-8f5af6eb7aeb5a08851ade3f67fba140dc0d5dec.tar.bz2
spack-8f5af6eb7aeb5a08851ade3f67fba140dc0d5dec.tar.xz
spack-8f5af6eb7aeb5a08851ade3f67fba140dc0d5dec.zip
doxygen: add v1.12.0 (#46752)
-rw-r--r--var/spack/repos/builtin/packages/doxygen/package.py23
1 files changed, 13 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/doxygen/package.py b/var/spack/repos/builtin/packages/doxygen/package.py
index 50e16c3bfd..2ca28689d7 100644
--- a/var/spack/repos/builtin/packages/doxygen/package.py
+++ b/var/spack/repos/builtin/packages/doxygen/package.py
@@ -20,6 +20,7 @@ class Doxygen(CMakePackage):
license("GPL-2.0-or-later")
+ version("1.12.0", sha256="5ca35e1258020df5fe8b21c3656aed156c317def4a81b7fe52f452edc9f35768")
version("1.11.0", sha256="1fea49c69e51fec3dd2599947f6d48d9b1268bd5115b1bb08dffefc1fd5d19ee")
version("1.10.0", sha256="795692a53136ca9bb9a6cd72656968af7858a78be7d6d011e12ab1dce6b9533c")
version("1.9.8", sha256="77371e8a58d22d5e03c52729844d1043e9cbf8d0005ec5112ffa4c8f509ddde8")
@@ -136,16 +137,18 @@ class Doxygen(CMakePackage):
def patch(self):
if self.spec["iconv"].name != "libiconv":
return
- # On Linux systems, iconv is provided by libc. Since CMake finds the
- # symbol in libc, it does not look for libiconv, which leads to linker
- # errors. This makes sure that CMake always looks for the external
- # libconv instead.
- filter_file(
- "check_function_exists(iconv_open ICONV_IN_GLIBC)",
- "set(ICONV_IN_GLIBC FALSE)",
- join_path("cmake", "FindIconv.cmake"),
- string=True,
- )
+
+ if self.spec.satisfies("@:1.11"):
+ # On Linux systems, iconv is provided by libc. Since CMake finds the
+ # symbol in libc, it does not look for libiconv, which leads to linker
+ # errors. This makes sure that CMake always looks for the external
+ # libconv instead.
+ filter_file(
+ "check_function_exists(iconv_open ICONV_IN_GLIBC)",
+ "set(ICONV_IN_GLIBC FALSE)",
+ join_path("cmake", "FindIconv.cmake"),
+ string=True,
+ )
def cmake_args(self):
return [