aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2023-07-20 09:43:13 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-09-23 11:10:52 +0000
commit35be448f845649881388872ad48dc6788c78f1e7 (patch)
tree749f36be0b247250a5b5f038540d46edc633293d
parent0c43b4c222003a53eadaeac6050affb217140d2f (diff)
downloadports-35be448f845649881388872ad48dc6788c78f1e7.tar.gz
ports-35be448f845649881388872ad48dc6788c78f1e7.zip
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)
-rw-r--r--graphics/chafa/Makefile5
-rw-r--r--graphics/chafa/distinfo2
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