ports/117982: vim-lite causes build to fail using WITH_VIM_OPTIONS=yes
Coleman Kane
cokane at FreeBSD.org
Sun Nov 11 18:20:01 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list