From cec670c83c3b2bad8e3acc0e444fb759476276a0 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Wed, 21 Feb 2024 16:31:15 -0500 Subject: [PATCH] fix(giflib) closes #5266 --- projects/giflib.sourceforge.io/package.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/projects/giflib.sourceforge.io/package.yml b/projects/giflib.sourceforge.io/package.yml index b2d4abcc..bf29e88f 100644 --- a/projects/giflib.sourceforge.io/package.yml +++ b/projects/giflib.sourceforge.io/package.yml @@ -12,17 +12,20 @@ versions: build: dependencies: gnu.org/patch: '*' - script: | - if test {{ hw.platform }} = "darwin"; then - # needed to work on macOS - patch -p0 < props/Makefile.patch - fi + imagemagick.org: '*' # needs `convert` + script: + # the appears to be applied in 5.2.2 + - run: | + if test {{ hw.platform }} = "darwin"; then + # needed to work on macOS + patch -p0 < props/Makefile.patch + fi + if: <5.2.2 - make --jobs {{ hw.concurrency }} all - make install PREFIX="{{ prefix }}" + - make --jobs {{ hw.concurrency }} all + - make install PREFIX="{{ prefix }}" -test: - giftext fixture.gif +test: giftext fixture.gif provides: - bin/gif2rgb