From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 15 05:10:12 2013 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]) by hub.freebsd.org (Postfix) with ESMTP id 8DF23B80 for ; Wed, 15 May 2013 05:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 664E5AE7 for ; Wed, 15 May 2013 05:10:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4F5ABaa037004 for ; Wed, 15 May 2013 05:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4F5ABi4037003; Wed, 15 May 2013 05:10:11 GMT (envelope-from gnats) Date: Wed, 15 May 2013 05:10:11 GMT Message-Id: <201305150510.r4F5ABi4037003@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: Norihiko Murase Subject: ports/178525: sysutils/less: correct the build option X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Norihiko Murase List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2013 05:10:12 -0000 The following reply was made to PR ports/178525; it has been noted by GNATS. From: Norihiko Murase To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: ports/178525: sysutils/less: correct the build option Date: Sun, 12 May 2013 06:24:44 GMT >Number: 178525 >Category: ports >Synopsis: sysutils/less: correct the build option >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: Sun May 12 06:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Norihiko Murase >Release: >Organization: >Environment: >Description: Hey! Quick fix, please. I would like you to fix the bug related to the build option that resides in the port sysutils/less. This bug did slip into this port at SVN Revision 317890 (related PR: ports/178261) for the port update (451->458). Well, the bug is (probably) simple; the line .if ${PORT_OPTIONS:MCOLOUR_LESS} should be .if ${PORT_OPTIONS:MCOLOR_LESS} because the option named "COLOR_LESS" (NOT COLO*U*R_LESS) is defined as follows: OPTIONS_DEFINE= COLOR_LESS COLOR_LESS_DESC=Enables color support via escape sequence >How-To-Repeat: >Fix: Patch attached with submission follows: diff -U 11 -r less_317890/Makefile less_cur/Makefile --- less_317890/Makefile 2013-05-12 14:35:43.000000000 +0900 +++ less_cur/Makefile 2013-05-12 14:38:54.000000000 +0900 @@ -15,19 +15,19 @@ OPTIONS_DEFINE= COLOR_LESS COLOR_LESS_DESC=Enables color support via escape sequence PLIST_FILES= bin/less bin/lesskey bin/lessecho .include GNU_CONFIGURE= yes MAN1= less.1 lesskey.1 lessecho.1 -.if ${PORT_OPTIONS:MCOLOUR_LESS} +.if ${PORT_OPTIONS:MCOLOR_LESS} CPPFLAGS+= -DCOLOR_LESS pre-fetch: @${ECHO_MSG} "Making a color version of less." .endif .include >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-ports-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org"