git: 2b12503f70f3 - main - misc/gnome-icon-theme: fix build after gtk-update-icon-cache removal

From: Charlie Li <vishwin_at_FreeBSD.org>
Date: Tue, 12 Oct 2021 07:52:47 UTC
The branch main has been updated by vishwin:

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

commit 2b12503f70f3a90158f40977afccfd672ecd466a
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2021-10-12 03:53:21 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2021-10-12 07:52:37 +0000

    misc/gnome-icon-theme: fix build after gtk-update-icon-cache removal
    
    Same fix as 7e81141577d3e5cf068e4f3c3e995dd7ccc3129a
    
    While here, add LICENSEs
    
    Approved by: fluffy (mentor), bapt (portmgr)
    Differential Revision: https://reviews.freebsd.org/D32461
---
 misc/gnome-icon-theme/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/misc/gnome-icon-theme/Makefile b/misc/gnome-icon-theme/Makefile
index b3aa11226a22..0cfe2a02e295 100644
--- a/misc/gnome-icon-theme/Makefile
+++ b/misc/gnome-icon-theme/Makefile
@@ -11,15 +11,21 @@ DIST_SUBDIR=	gnome3
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Collection of icons for the GNOME desktop
 
+LICENSE=	LGPL3 CC-BY-SA-3.0
+LICENSE_COMB=	dual
+LICENSE_FILE_LGPL3=	${WRKSRC}/COPYING_LGPL
+LICENSE_FILE_CC-BY-SA-3.0=	${WRKSRC}/COPYING_CCBYSA3
+
 BUILD_DEPENDS=	${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \
 		icon-naming-utils>=0.8.7:x11-themes/icon-naming-utils
 RUN_DEPENDS=	${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \
 		gnome-icon-theme-symbolic>=0:x11-themes/gnome-icon-theme-symbolic
 
 GNU_CONFIGURE=	yes
-USES=		gettext-tools gmake gnome pathfix pkgconfig tar:xz
+USES=		gettext-tools gmake gnome localbase pathfix pkgconfig tar:xz
 USE_GNOME=	intlhack
 CONFIGURE_ARGS=	--enable-icon-mapping
+CONFIGURE_ENV=	ac_cv_path_GTK_UPDATE_ICON_CACHE=/usr/bin/true
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib