ports/133688: [patch] x11-toolkits/termit: WITHOUT_NLS fails to disable NLS support

Scot Hetzel swhetzel at gmail.com
Mon Apr 13 04:20:02 UTC 2009


>Number:         133688
>Category:       ports
>Synopsis:       [patch] x11-toolkits/termit: WITHOUT_NLS fails to disable NLS support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 13 04:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Scot Hetzel
>Release:        8.0-CURRENT
>Organization:
>Environment:
>Description:
When the port is build with WITHOUT_NLS, it fails to dissable NLS support since the port uses cmake instead of a configure script.


>How-To-Repeat:
cd /usr/ports/x11-toolkits/termit
make configure -DWITHOUT_NLS
cd work/termit*/
ccmake .

ENABLE_NLS will still be set to ON.
>Fix:
The attached patch replaces 'CONFIGURE_ARGS+= --disable-nls' with 'CMAKE_ARGS+=   -DENABLE_NLS:BOOL=false'

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11-toolkits/termit/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	8 Apr 2009 09:22:14 -0000	1.4
+++ Makefile	13 Apr 2009 03:08:50 -0000
@@ -29,7 +29,7 @@
 LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 .else
-CONFIGURE_ARGS+=--disable-nls
+CMAKE_ARGS+=	-DENABLE_NLS:BOOL=false
 PLIST_SUB+=	NLS="@comment "
 .endif
 


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list