From munk@mail.munk.nu  Sat Jun  7 15:21:07 2003
Return-Path: <munk@mail.munk.nu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5772F37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  7 Jun 2003 15:21:07 -0700 (PDT)
Received: from mail.munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C7AFE43F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  7 Jun 2003 15:21:06 -0700 (PDT)
	(envelope-from munk@mail.munk.nu)
Received: from munk by mail.munk.nu with local (Exim 4.20)
	id 19Om3e-0008Ih-4C
	for FreeBSD-gnats-submit@freebsd.org; Sat, 07 Jun 2003 23:21:06 +0100
Message-Id: <E19Om3e-0008Ih-4C@mail.munk.nu>
Date: Sat, 07 Jun 2003 23:21:06 +0100
From: jez.hancock@munk.nu
Sender: User Munk <munk@mail.munk.nu>
To: FreeBSD-gnats-submit@freebsd.org
Subject: vim 6.2 Makefile broken
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         53022
>Category:       ports
>Synopsis:       vim 6.2 Makefile broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 07 15:30:14 PDT 2003
>Closed-Date:    Sat Jun 07 16:09:07 PDT 2003
>Last-Modified:  Sat Jun 07 16:09:07 PDT 2003
>Originator:     jez.hancock@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@users.munk.nu:/usr/obj/usr/src/sys/MUNKBOXEN i386


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

root@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:
State-Changed-From-To: open->closed 
State-Changed-By: adamw 
State-Changed-When: Sat Jun 7 16:08:06 PDT 2003 
State-Changed-Why:  
This has already been fixed. Please cvsup your ports tree and try 
the build again. 

Thanks for the submission though! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53022 
>Unformatted:
