From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 11 18:20:01 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63EF816A41A for ; Sun, 11 Nov 2007 18:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 46E2A13C4C3 for ; Sun, 11 Nov 2007 18:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id lABIK09x035329 for ; Sun, 11 Nov 2007 18:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id lABIK0Kt035328; Sun, 11 Nov 2007 18:20:00 GMT (envelope-from gnats) Resent-Date: Sun, 11 Nov 2007 18:20:00 GMT Resent-Message-Id: <200711111820.lABIK0Kt035328@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, Coleman Kane Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48E4116A418 for ; Sun, 11 Nov 2007 18:16:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 3E0E513C480 for ; Sun, 11 Nov 2007 18:16:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id lABIFsae031809 for ; Sun, 11 Nov 2007 18:15:54 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id lABIFs7T031808; Sun, 11 Nov 2007 18:15:54 GMT (envelope-from nobody) Message-Id: <200711111815.lABIFs7T031808@www.freebsd.org> Date: Sun, 11 Nov 2007 18:15:54 GMT From: Coleman Kane To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/117982: vim-lite causes build to fail using WITH_VIM_OPTIONS=yes X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2007 18:20:01 -0000 >Number: 117982 >Category: ports >Synopsis: vim-lite causes build to fail using WITH_VIM_OPTIONS=yes >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 11 18:20:00 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Coleman Kane >Release: 8.0-CURRENT >Organization: FreeBSD Project >Environment: FreeBSD erwin 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Nov 11 08:06:05 EST 2007 root@erwin:/usr/obj/usr/src/sys/ERWIN amd64 >Description: When building editors/vim-lite, the ports is actually a slave port of editors/vim. Because of this, editors/vim should not attempt to load the OPTIONS (even if told to do so by the user), since vim-lite is vim built with a specific static set of options. >How-To-Repeat: This behavior can be seen if WITH_VIM_OPTIONS=yes is in /etc/make.conf and you run portsdb -uU. It will cause portsdb update to fail, since it attempts to source the Makefile in editors/vim-lite. >Fix: The following patch is to fix the problem in the master port. Patch attached with submission follows: diff -u -r vim.orig/Makefile vim/Makefile --- vim.orig/Makefile 2007-10-25 12:52:59.000000000 -0400 +++ vim/Makefile 2007-11-09 12:24:05.000000000 -0500 @@ -29,9 +29,11 @@ SLAVEDIRS= editors/vim-lite +.if !defined(LITE) .if defined(WITH_OPTIONS) || defined(WITH_VIM_OPTIONS) .include "${.CURDIR}/options" .endif +.endif USE_BZIP2= yes DIST_SUBDIR= vim >Release-Note: >Audit-Trail: >Unformatted: