From 200dfb034618f010cb6bb26fb1cfe04a93c304ae Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Mon, 12 Aug 2024 11:30:45 +0200 Subject: giflib: fix build on macOS (#45643) --- var/spack/repos/builtin/packages/giflib/package.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/giflib/package.py b/var/spack/repos/builtin/packages/giflib/package.py index 9260fae327..fc8b5b1ea9 100644 --- a/var/spack/repos/builtin/packages/giflib/package.py +++ b/var/spack/repos/builtin/packages/giflib/package.py @@ -24,7 +24,7 @@ class Giflib(MakefilePackage, SourceforgePackage): extension="tar.bz2", ) - depends_on("c", type="build") # generated + depends_on("c", type="build") depends_on("automake", type="build", when="@:5.2.0") depends_on("autoconf", type="build", when="@:5.2.0") @@ -36,10 +36,13 @@ class Giflib(MakefilePackage, SourceforgePackage): "https://sourceforge.net/p/giflib/bugs/_discuss/thread/4e811ad29b/c323/attachment/Makefile.patch", sha256="a94e7bdd8840a31cecacc301684dfdbf7b98773ad824aeaab611fabfdc513036", level=0, - when="@5.2: platform=darwin", + when="@5.2.0:5.2.1 platform=darwin", ) patch("bsd-head.patch") + # error: no such file or directory: 'dgif_lib.o' + parallel = False + def prefix_and_libversion_args(self): args = [] if self.spec.satisfies("@5.2.0:"): -- cgit v1.2.3-70-g09d2