git: 3c7613413c0d - main - x11-toolkits/gtk30: Fix detecting system libintl

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 24 Dec 2023 09:04:47 UTC
The branch main has been updated by eduardo:

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

commit 3c7613413c0d40ed6428e2918beeb38f81698dcd
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-12-24 09:01:14 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-12-24 09:04:33 +0000

    x11-toolkits/gtk30: Fix detecting system libintl
    
    Use localbase:ldflags to detect system libintl. Without it, bundled is
    built instead.
    
    PR:             275567
---
 x11-toolkits/gtk30/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index e7590f2f4d45..750228d0f5bb 100644
--- a/x11-toolkits/gtk30/Makefile
+++ b/x11-toolkits/gtk30/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	gtk
 DISTVERSION=	3.24.38 # sync with x11-themes: adwaita-icon-theme, gnome-themes-standard and mate-themes
+PORTREVISION=	1
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	GNOME/sources/gtk+/${DISTVERSION:R}
 PKGNAMESUFFIX=	3
@@ -19,8 +20,8 @@ LIB_DEPENDS=	libepoxy.so:graphics/libepoxy \
 RUN_DEPENDS=	adwaita-icon-theme>=0:x11-themes/adwaita-icon-theme \
 		hicolor-icon-theme>=0:misc/hicolor-icon-theme
 
-USES=		compiler:c11 cpe gettext gnome localbase meson ninja pathfix \
-		perl5 pkgconfig python shebangfix tar:xz
+USES=		compiler:c11 cpe gettext gnome localbase:ldflags meson ninja \
+		pathfix perl5 pkgconfig python shebangfix tar:xz
 CPE_VENDOR=	gnome
 USE_GNOME=	atk cairo gdkpixbuf2 gtk-update-icon-cache pango \
 		introspection:build librsvg2:run