ports/170669: [patch] devel/subversion: fix build when WITHOUT_NLS and WITH_KDE_KWALLET are defined
Alberto Villa
avilla at FreeBSD.org
Thu Aug 16 14:20:07 UTC 2012
>Number: 170669
>Category: ports
>Synopsis: [patch] devel/subversion: fix build when WITHOUT_NLS and WITH_KDE_KWALLET are defined
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 16 14:20:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Alberto Villa
>Release:
>Organization:
>Environment:
>Description:
`make configure` fails in devel/subversion when WITHOUT_NLS and WITH_KDE_KWALLET are defined, with:
checking whether to look for KWallet... yes
configure: error: missing support for internationalization
===> Script "configure" failed unexpectedly.
kwallet.m4 reveals that NLS support is required by KWallet.
>How-To-Repeat:
make configure -C /usr/ports/devel/subversion -DWITHOUT_NLS -DWITH_KDE_KWALLET
>Fix:
The attached patch forces NLS support to be built also when WITH_KDE_KWALLET is defined.
Patch attached with submission follows:
Index: Makefile.common
===================================================================
--- Makefile.common (revision 302485)
+++ Makefile.common (working copy)
@@ -132,7 +132,8 @@
LIB_DEPENDS+= svn_client-1:${PORTSDIR}/devel/subversion
.endif
-.if !defined(WITHOUT_NLS)
+# KWallet requires NLS to be enabled.
+.if !defined(WITHOUT_NLS) || defined(WITH_KDE_KWALLET)
USE_GETTEXT= yes
PLIST_SUB+= WITHOUT_GETTEXT=""
.else
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list