From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 15 19:30:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 690F47BD for ; Sat, 15 Mar 2014 19:30:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 46338C4F for ; Sat, 15 Mar 2014 19:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2FJU1Y7078630 for ; Sat, 15 Mar 2014 19:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2FJU1Yf078629; Sat, 15 Mar 2014 19:30:01 GMT (envelope-from gnats) Resent-Date: Sat, 15 Mar 2014 19:30:01 GMT Resent-Message-Id: <201403151930.s2FJU1Yf078629@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kevin Zheng Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 88C37797 for ; Sat, 15 Mar 2014 19:27:04 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 76020C35 for ; Sat, 15 Mar 2014 19:27:04 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2FJR4Wq095714 for ; Sat, 15 Mar 2014 19:27:04 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2FJR4ar095710; Sat, 15 Mar 2014 19:27:04 GMT (envelope-from nobody) Message-Id: <201403151927.s2FJR4ar095710@cgiserv.freebsd.org> Date: Sat, 15 Mar 2014 19:27:04 GMT From: Kevin Zheng To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/187616: [patch] Fix build for devel/talloc without NLS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Mar 2014 19:30:01 -0000 >Number: 187616 >Category: ports >Synopsis: [patch] Fix build for devel/talloc 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: Sat Mar 15 19:30:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Kevin Zheng >Release: 10.0-RELEASE >Organization: >Environment: FreeBSD epsilon.local 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: devel/talloc fails to build with the following message: /wrkdirs/usr/ports/devel/talloc/work/talloc-2.1.0/lib/replace/wscript:399: error: library gettext not found, try specifying the path to it with --with-gettext= or --without-gettext to build without ===> Script "configure" failed unexpectedly. The solution is to add "--without-gettext" to NLS_CONFIGURE_OFF. In addition, make a few more changes: - Don't specify PORTREVISION/PORTEPOCH (both zero) - Add MANPAGES and NLS options >How-To-Repeat: >Fix: Apply the attached patch. Patch attached with submission follows: diff --git a/devel/talloc/Makefile b/devel/talloc/Makefile index c0703c5..b0d2068 100644 --- a/devel/talloc/Makefile +++ b/devel/talloc/Makefile @@ -2,8 +2,6 @@ PORTNAME= talloc PORTVERSION= 2.1.0 -PORTREVISION= 0 -PORTEPOCH= 0 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SAMBA} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -21,6 +19,11 @@ USE_LDCONFIG= yes WAF_TOOL= buildtools/bin/waf CONFIGURE_LOG= bin/config.log +OPTIONS_DEFINE= MANPAGES NLS + +NLS_USES= gettext +NLS_CONFIGURE_OFF= --without-gettext + PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;} >Release-Note: >Audit-Trail: >Unformatted: