git: b48f2d00018e - main - multimedia/cheese: Fix build after 1ac2359a88f6

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Sat, 21 May 2022 13:39:12 UTC
The branch main has been updated by cy:

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

commit b48f2d00018e9ec19dd4d89175248aecf1a6ade8
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-05-21 13:35:39 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-05-21 13:38:51 +0000

    multimedia/cheese: Fix build after 1ac2359a88f6
    
    1ac2359a88f6 split from include/canberra-gtk.h to
    canberra-gtk2/canberra-gtk.h and canberra-gtk3/canberra-gtk.h.
    Tell this port where to find the header file.
---
 multimedia/cheese/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/multimedia/cheese/Makefile b/multimedia/cheese/Makefile
index 18316b68d41c..63f35ca0c541 100644
--- a/multimedia/cheese/Makefile
+++ b/multimedia/cheese/Makefile
@@ -40,4 +40,7 @@ MESON_ARGS=	-Dgtk_doc=false \
 
 GLIB_SCHEMAS=	org.gnome.Cheese.gschema.xml
 
+post-patch:
+	@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e 's|canberra-gtk\.h|canberra-gtk2/canberra-gtk.h|'
+
 .include <bsd.port.mk>