Date: Sun, 11 Nov 2007 18:15:54 GMT From: Coleman Kane <cokane@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/117982: vim-lite causes build to fail using WITH_VIM_OPTIONS=yes Message-ID: <200711111815.lABIFs7T031808@www.freebsd.org> Resent-Message-ID: <200711111820.lABIK0Kt035328@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711111815.lABIFs7T031808>