From 77830d92bd0ab91ae5e82be80eae405b54768cf2 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Sun, 16 Apr 2023 20:37:48 -0500 Subject: [PATCH] libmypaint: change extend to append (#36957) * libmypaint: change extend to append For same reason as #36939, `extend` takes a list as argument, while `append` takes list entry. Here `append` should be used. * libmypaint: depends_on intltool --- var/spack/repos/builtin/packages/libmypaint/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/libmypaint/package.py b/var/spack/repos/builtin/packages/libmypaint/package.py index 0cac584845b..8db1f48890e 100644 --- a/var/spack/repos/builtin/packages/libmypaint/package.py +++ b/var/spack/repos/builtin/packages/libmypaint/package.py @@ -25,6 +25,7 @@ class Libmypaint(AutotoolsPackage): variant("gegl", default=False, description="Enable GEGL based code in build") variant("introspection", default=True, description="Enable introspection for this build") + depends_on("intltool") depends_on("json-c") depends_on("perl@5.8.1:") depends_on("perl-xml-parser") @@ -37,7 +38,7 @@ def configure_args(self): args = [] if "+gegl" in self.spec: - args.extend("--enable-gegl=yes") + args.append("--enable-gegl=yes") if "+introspection" in self.spec: args.extend(