git: 5b83ee285bf3 - main - audio/libcanberra: remove gtk2 dependency leftover

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Mon, 23 May 2022 09:42:18 UTC
The branch main has been updated by bapt:

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

commit 5b83ee285bf3a1de654c435fdb3186294db3c58b
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-05-23 09:37:53 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-05-23 09:42:11 +0000

    audio/libcanberra: remove gtk2 dependency leftover
    
    Gtk2 dependency was leftover after the split of libcanberra-gtk[1]
    while not used, remove it.
    
    While here explicitly disable udev (which can get activated if
    libudev-devd is installed on the building machine).
    
    Also drop the gtkdoc entry from the default Makefile as the
    --disable-gtk-doc switch it not working.
    
    Reported by:    tijl
---
 audio/libcanberra/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/audio/libcanberra/Makefile b/audio/libcanberra/Makefile
index 7535bb147d9f..72f4a515e136 100644
--- a/audio/libcanberra/Makefile
+++ b/audio/libcanberra/Makefile
@@ -3,7 +3,7 @@
 
 PORTNAME=	libcanberra
 PORTVERSION=	0.30
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	audio devel
 MASTER_SITES=	http://0pointer.de/lennart/projects/libcanberra/ \
 		http://pkgs.fedoraproject.org/repo/pkgs/libcanberra/libcanberra-0.30.tar.xz/34cb7e4430afaf6f447c4ebdb9b42072/
@@ -18,10 +18,9 @@ LIB_DEPENDS=	libvorbisfile.so:audio/libvorbis \
 		libltdl.so:devel/libltdl
 
 USES=		gmake gnome localbase libtool pathfix pkgconfig tar:xz
-USE_GNOME=	gnomeprefix gtk20
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-lynx --disable-tdb --disable-alsa
+CONFIGURE_ARGS=	--disable-lynx --disable-tdb --disable-alsa --disable-udev
 INSTALL_TARGET=	install-strip
 
 SLAVEPORT?=
@@ -64,6 +63,8 @@ GSTREAMER_CONFIGURE_ENABLE=	gstreamer
 post-patch:
 	@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
 		${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's| gtkdoc | |g' \
+		${WRKSRC}/Makefile.in
 
 
 .include <bsd.port.mk>