git: 73c282c1543f - main - graphics/chafa: Fix build after recent webp update

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Thu, 20 Jul 2023 09:43:35 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=73c282c1543fbba3bae36c09bdaf44db0995c5a7

commit 73c282c1543fbba3bae36c09bdaf44db0995c5a7
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-07-20 09:43:13 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-07-20 09:43:33 +0000

    graphics/chafa: Fix build after recent webp update
    
    Upstream issue: https://github.com/hpjansson/chafa/issues/152
    Notified by:    pkg-fallout
---
 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