ports/53022: vim 6.2 Makefile broken

jez.hancock at munk.nu jez.hancock at munk.nu
Sat Jun 7 22:30:16 UTC 2003


>Number:         53022
>Category:       ports
>Synopsis:       vim 6.2 Makefile broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 07 15:30:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     jez.hancock at munk.nu
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD users.munk.nu 4.8-STABLE FreeBSD 4.8-STABLE #1: Fri Apr 18 14:38:46 BST 2003 root at users.munk.nu:/usr/obj/usr/src/sys/MUNKBOXEN i386


>Description:
Installation of vim6.2 from ports fails on 'make install':

root at users /usr/ports/editors/vim-lite# make install
<snip>
install -c -o root -g wheel -m 444 /usr/ports/editors/vim-lite/../vim/files/vietnamese_viscii.vim /usr/local/share/vim/vim6/keymap
install: /usr/local/share/vim/vim6/keymap: No such file or directory
*** Error code 71

Problem appears to be with these lines in /usr/ports/vim/Makefile (lines 48-49):
_DATADIR=       ${DISTNAME:C/.[0-9]*$//:S/-//g:S/.//g}
DATADIR=        ${PREFIX}/share/vim/${_DATADIR}

The regexp in the $_DATADIR assigment line is perhaps incorrect (with the
move from vim 6 to vim 6.2)?


>How-To-Repeat:
(cvsup to latest port tree)
cd /usr/ports/editors/vim-lite
make desinstall; make clean install

>Fix:
Modifying $DATADIR to manually specify the new vim data directory allows for 
clean install:
DATADIR=        ${PREFIX}/share/vim/vim62
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list