Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2009 16:12:39 +0200 (CEST)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/134650: [patch] net/x11vnc fix build for option WITHOUT_NLS
Message-ID:  <200905181412.n4IECdKm056689@home3.dinoex.sub.de>
Resent-Message-ID: <200905181420.n4IEK36a037749@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         134650
>Category:       ports
>Synopsis:       [patch] net/x11vnc fix build for option WITHOUT_NLS
>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:   Mon May 18 14:20:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 7.2-STABLE
>Organization:
privat
>Environment:

	in etc/make.conf:
	WITHOUT_NLS=yes

>Description:

	This ports forces libgettext for everyone.
	But it build fine without.

>How-To-Repeat:

>Fix:

	apply this patch

Index: net/x11vnc/Makefile
===================================================================
RCS file: /home/pcvs/ports/net/x11vnc/Makefile,v
retrieving revision 1.24
diff -u -r1.24 Makefile
--- net/x11vnc/Makefile	9 Mar 2009 00:05:05 -0000	1.24
+++ net/x11vnc/Makefile	18 May 2009 14:00:55 -0000
@@ -25,7 +25,9 @@
 LDFLAGS+=	-L${LOCALBASE}/lib
 USE_OPENSSL=	yes
 USE_ICONV=	yes
+.if !defined(WITHOUT_NLS)
 USE_GETTEXT=	yes
+.endif
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include"
 
>Release-Note:
>Audit-Trail:
>Unformatted:



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