aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2023-07-20 09:43:13 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2023-07-20 09:43:33 +0000
commit73c282c1543fbba3bae36c09bdaf44db0995c5a7 (patch)
treef7b362df0b580e1eaeb45e8bc3d2ba93d908766e
parenta5370a8835ebbe99ad7cb0e91bf114a25302f65e (diff)
downloadports-73c282c1543fbba3bae36c09bdaf44db0995c5a7.tar.gz
ports-73c282c1543fbba3bae36c09bdaf44db0995c5a7.zip
graphics/chafa: Fix build after recent webp update
Upstream issue: https://github.com/hpjansson/chafa/issues/152 Notified by: pkg-fallout
-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