git: 35be448f8456 - 2023Q3 - graphics/chafa: Fix build after recent webp update

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 23 Sep 2023 11:11:57 UTC
The branch 2023Q3 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=35be448f845649881388872ad48dc6788c78f1e7

commit 35be448f845649881388872ad48dc6788c78f1e7
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-07-20 09:43:13 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-09-23 11:10:52 +0000

    graphics/chafa: Fix build after recent webp update
    
    Upstream issue: https://github.com/hpjansson/chafa/issues/152
    Notified by:    pkg-fallout
    
    (cherry picked from commit 73c282c1543fbba3bae36c09bdaf44db0995c5a7)
---
 graphics/chafa/Makefile | 5 ++++-
 graphics/chafa/distinfo | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/graphics/chafa/Makefile b/graphics/chafa/Makefile
index 31933ce736cb..e203a3ba08f0 100644
--- a/graphics/chafa/Makefile
+++ b/graphics/chafa/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	chafa
 PORTVERSION=	1.12.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	https://hpjansson.org/chafa/releases/ \
 		https://github.com/hpjansson/chafa/releases/download/${PORTVERSION}/
@@ -25,6 +25,9 @@ USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-html-dir=${DOCSDIR}/html
 
+# https://github.com/hpjansson/chafa/issues/152
+CONFIGURE_ENV+=	WEBP_CFLAGS='-lwebp'
+
 INSTALL_TARGET=	install-strip
 
 OPTIONS_DEFINE=	DOCS
diff --git a/graphics/chafa/distinfo b/graphics/chafa/distinfo
index 093b786201ab..d25c35218dd7 100644
--- a/graphics/chafa/distinfo
+++ b/graphics/chafa/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1684696400
+TIMESTAMP = 1689842385
 SHA256 (chafa-1.12.5.tar.xz) = 0f5490d52a500a6b386f15cc04c6e8702afd0285d422b9575b332e0c683957f2
 SIZE (chafa-1.12.5.tar.xz) = 939792