Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 2024 22:45:39 GMT
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1c3d203e8a54 - main - x11/libxfce4util: Workaround gettext library detection issue
Message-ID:  <202401092245.409MjdLf068266@gitrepo.freebsd.org>

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

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

commit 1c3d203e8a5476b616fd82adb7b5f98274ef89db
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2024-01-09 22:44:19 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2024-01-09 22:44:19 +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
---
 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?202401092245.409MjdLf068266>