git: 71a5cdfb0331 - 2023Q3 - multimedia/motion: Fix build

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 24 Sep 2023 01:17:50 UTC
The branch 2023Q3 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=71a5cdfb0331553236640f80c67840b6a7ca6981

commit 71a5cdfb0331553236640f80c67840b6a7ca6981
Author:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
AuthorDate: 2023-09-17 17:28:50 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-09-24 01:16:44 +0000

    multimedia/motion: Fix build
    
    Update patch with fix from upstream.
    
    PR:     272494
    Reported by:    alexvpetrov@gmail.com
    Reported by:    pkg-fallout (quarterly)
    Approved by:    ports@blievers.net (maintainer, timeout > 2 weeks)
    
    (cherry picked from commit 42ce6b36ff709ca04247b85eec6b4e8f370ec2e3)
---
 multimedia/motion/Makefile                 |  2 +-
 multimedia/motion/distinfo                 |  4 +++-
 multimedia/motion/files/patch-configure.ac | 11 +++++++++++
 3 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/multimedia/motion/Makefile b/multimedia/motion/Makefile
index 7b34fa417502..ee336ece13d7 100644
--- a/multimedia/motion/Makefile
+++ b/multimedia/motion/Makefile
@@ -1,7 +1,7 @@
 # PORTNAME block
 PORTNAME=	motion
 PORTVERSION=	4.3.2
-PORTREVISION=	5
+PORTREVISION=	6
 DISTVERSIONPREFIX=	release-
 CATEGORIES=	multimedia
 
diff --git a/multimedia/motion/distinfo b/multimedia/motion/distinfo
index 33c442065554..c05734dbfad2 100644
--- a/multimedia/motion/distinfo
+++ b/multimedia/motion/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1603754625
+TIMESTAMP = 1695017850
 SHA256 (Motion-Project-motion-release-4.3.2_GH0.tar.gz) = dafa4264b2d8e4778f8be5871f09b6c0ec710d5a836182c583469c18db944d70
 SIZE (Motion-Project-motion-release-4.3.2_GH0.tar.gz) = 849378
+SHA256 (af632f831127499ee541d9c719a930321718f294.patch) = 85dc0562c7dc358084c8c9556ebb8ef1592527d79f576f035f356bbdadf40c6c
+SIZE (af632f831127499ee541d9c719a930321718f294.patch) = 890
diff --git a/multimedia/motion/files/patch-configure.ac b/multimedia/motion/files/patch-configure.ac
index 90ec4379d3b6..69fd60bb46d9 100644
--- a/multimedia/motion/files/patch-configure.ac
+++ b/multimedia/motion/files/patch-configure.ac
@@ -1,5 +1,16 @@
 --- configure.ac.orig	2020-10-25 20:53:44 UTC
 +++ configure.ac
+@@ -181,8 +181,8 @@ AS_IF([test "${WEBP}" = "yes" ], [
+     AS_IF([pkg-config libwebpmux ], [
+         AC_MSG_RESULT(yes)
+         AC_DEFINE([HAVE_WEBP], [1], [Define to 1 if WEBP is around])
+-        TEMP_CFLAGS="$TEMP_CFLAGS "`pkg-config --cflags libwebpmux`
+-        TEMP_LIBS="$TEMP_LIBS "`pkg-config --libs libwebpmux`
++	TEMP_CPPFLAGS="$TEMP_CPPFLAGS "`pkgconf --cflags libwebpmux libwebp`
++	TEMP_LIBS="$TEMP_LIBS "`pkgconf --libs libwebpmux libwebp`
+       ],[
+         AC_MSG_RESULT(no)
+       ]
 @@ -327,15 +327,11 @@ AS_IF([test "${MYSQL}" = "no"], [
      AC_MSG_CHECKING(for MySQL)
      AC_MSG_RESULT(skipped)