Bug 117982 - editors/vim-lite causes build to fail using WITH_VIM_OPTIONS=yes
Summary: editors/vim-lite causes build to fail using WITH_VIM_OPTIONS=yes
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: David E. O'Brien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-11 18:20 UTC by Coleman Kane
Modified: 2007-11-14 16:50 UTC (History)
0 users

See Also:


Attachments
file.diff (363 bytes, patch)
2007-11-11 18:20 UTC, Coleman Kane
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Coleman Kane freebsd_committer freebsd_triage 2007-11-11 18:20:00 UTC
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.

Fix: The following patch is to fix the problem in the master port.

Patch attached with submission follows:
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.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2007-11-11 20:44:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->obrien

Over to maintainer.
Comment 2 David E. O'Brien freebsd_committer freebsd_triage 2007-11-13 23:50:57 UTC
State Changed
From-To: open->closed

This will be committed after the freeze: 
Index: Makefile 
=================================================================== 
RCS file: /home/ncvs/ports/editors/vim/Makefile,v 
retrieving revision 1.311 
diff -u -p -u -0 -r1.311 Makefile 
--- Makefile	25 Oct 2007 16:52:59 -0000	1.311 
+++ Makefile	13 Nov 2007 23:48:42 -0000 
@@ -33 +33 @@ SLAVEDIRS=	editors/vim-lite 
-.include "${.CURDIR}/options" 
+.include "${.CURDIR}/../vim/options"
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-11-14 16:48:34 UTC
obrien      2007-11-14 16:48:25 UTC

  FreeBSD ports repository

  Modified files:
    editors/vim          Makefile 
  Log:
  Fix building vim-lite with "WITH_VIM_OPTIONS=yes".
  
  PR:             ports/117982
  Submitted by:   cokane
  Approved by:    portmgr(pav)
  
  Revision  Changes    Path
  1.313     +1 -1      ports/editors/vim/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"