ports/117988: editors/vim6+ruby incorrectly refers to editors/vim port (v7.1)
Coleman Kane
cokane at FreeBSD.org
Sun Nov 11 20:30:02 UTC 2007
>Number: 117988
>Category: ports
>Synopsis: editors/vim6+ruby incorrectly refers to editors/vim port (v7.1)
>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 20:30:02 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:
The editors/vim6+ruby port incorrectly refers to the editors/vim port (which is version 7.1). Either the port name needs to be changed to vim+ruby, or the master directory needs to be changed to "../vim6". Currently, the configuration of this port breaks building if WITH_VIM_OPTIONS=yes is specified in the /etc/make.conf. This results in the port attempting to reference the options file from the current directory (assumed in editors/vim/Makefile), when it should be trying to access it from something like $(MASTER_PORT_DIR)/options.
>How-To-Repeat:
Add WITH_VIM_OPTIONS=yes to /etc/make.conf. Try to build this port, or try running 'portsdb -uU'.
>Fix:
I am attaching a fix that forces this to use the vim6 directory, which does not use the OPTIONS framework.
Patch attached with submission follows:
diff -u -r vim6+ruby.orig/Makefile vim6+ruby/Makefile
--- vim6+ruby.orig/Makefile 2007-11-09 12:46:56.000000000 -0500
+++ vim6+ruby/Makefile 2007-11-09 12:30:47.000000000 -0500
@@ -5,7 +5,7 @@
# $FreeBSD: ports/editors/vim6+ruby/Makefile,v 1.19 2007/05/19 20:04:20 flz Exp $
#
-MASTERDIR= ${.CURDIR}/../vim
+MASTERDIR= ${.CURDIR}/../vim6
PORTREVISION= 5
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list