Date: Fri, 6 Jun 2003 13:25:58 -0700 (PDT) From: Linh Pham <question@closedsrc.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/53001: Incorrect path during install portion of editors/vim Message-ID: <20030606202558.8BF6652F8@q.closedsrc.org> Resent-Message-ID: <200306062030.h56KUCrc020002@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 53001 >Category: ports >Synopsis: Incorrect path during install portion of editors/vim >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: Fri Jun 06 13:30:12 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Linh Pham >Release: FreeBSD 4.8-RELEASE i386 >Organization: >Environment: System: FreeBSD q.closedsrc.org 4.8-RELEASE FreeBSD 4.8-RELEASE #1: Sun Apr 6 22:50:16 PDT 2003 question@q.closedsrc.org:/usr/obj/usr/src/sys/Q i386 >Description: When trying to do a 'make install' for editors/vim for version 6.2.14 (the version for the Makefile is 1.228), it fails with an error code of 71 as posted below: ===> Generating temporary packing list [ -e /usr/local/bin/gvim ] || (cd /usr/local/bin ; /bin/ln -sf vim gvim) # below needed for `vim-lite' port test -e /usr/local/bin/rgvim || (cd /usr/local/bin ; /bin/ln -sf vim rgvim) test -e /usr/local/bin/gview || (cd /usr/local/bin ; /bin/ln -sf vim gview) test -e /usr/local/bin/rgview || (cd /usr/local/bin ; /bin/ln -sf vim rgview) test -e /usr/local/bin/evim || (cd /usr/local/bin ; /bin/ln -sf vim evim) test -e /usr/local/bin/eview || (cd /usr/local/bin ; /bin/ln -sf vim eview) test -e /usr/local/bin/gvimdiff || (cd /usr/local/bin ; /bin/ln -sf vim gvimdiff) install -c -o root -g wheel -m 444 /usr/ports/editors/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 The correct path should be /usr/local/share/vim/vim62 rather than /usr/local/share/vim/vim6 as listed above. >How-To-Repeat: Run 'make ; make install' in editors/vim with the latest revision of the port (last updated 06 Jun 2003 12:01:42) >Fix: In version 1.228 of Makefile for the port, line 154 is: ${INSTALL_DATA} ${FILESDIR}/vietnamese_viscii.vim ${DATADIR}/keymap DATADIR is defined as the following on line 48 as: ${PREFIX}/share/vim/${_DATADIR} And _DATADIR is defined on line 47 as: ${DISTNAME:C/.[0-9]*$//:S/-//g:S/.//g} For some reason, DATADIR is returning a value of 6 instead of 62 at line 154. That needs to be fixed and I'm not sure what the regex would be to do so. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030606202558.8BF6652F8>