Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2024 23:22:21 GMT
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: aaddd26ab326 - 2024Q1 - x11/libxfce4util: Workaround gettext library detection issue
Message-ID:  <202401092322.409NMLuO035365@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q1 has been updated by madpilot:

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

commit aaddd26ab326f3a721d1e5b1f4542e12dee9cb7b
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2024-01-09 22:44:19 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2024-01-09 23:22:04 +0000

    x11/libxfce4util: Workaround gettext library detection issue
    
    Due to an issue in the configure script gettext functions are not
    detected properly t configure time.
    
    This is causing display issues with non-UTF8 locales.
    
    This commit implements a workaround by passing some extra env to
    configure to successfully detect the library.
    
    A proper fix is proposed upstream at [1].
    
    [1] https://gitlab.xfce.org/xfce/libxfce4util/-/merge_requests/41
    
    PR:             276211
    (cherry picked from commit 1c3d203e8a5476b616fd82adb7b5f98274ef89db)
---
 x11/libxfce4util/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x11/libxfce4util/Makefile b/x11/libxfce4util/Makefile
index 40fe070b890a..cef294acfce8 100644
--- a/x11/libxfce4util/Makefile
+++ b/x11/libxfce4util/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libxfce4util
 PORTVERSION=	4.18.1
+PORTREVISION=	1
 CATEGORIES=	x11 xfce
 MASTER_SITES=	XFCE
 DIST_SUBDIR=	xfce4
@@ -32,6 +33,7 @@ GIR_CONFIGURE_ON=	--enable-introspection=yes
 GIR_CONFIGURE_OFF=	--enable-introspection=no
 
 NLS_CONFIGURE_ENABLE=	nls
+NLS_CONFIGURE_ENV=	LIBS=-lintl LDFLAGS=-L${LOCALBASE}/lib
 NLS_USES=		gettext-runtime
 
 VAPI_USES=		vala:build



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401092322.409NMLuO035365>