Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Dec 2003 14:39:48 +0300 (MSK)
From:      Seva Gluschenko <gvs@rinet.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/59944: make install in editors/vim port fails
Message-ID:  <200312041139.hB4Bdmvc036298@road.yandex.ru>
Resent-Message-ID: <200312041140.hB4BeJrH075187@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         59944
>Category:       ports
>Synopsis:       make install in editors/vim port fails
>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:   Thu Dec 04 03:40:18 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Seva Gluschenko
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
Yandex LLC
>Environment:
System: FreeBSD road.yandex.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #2: Wed Nov 19 12:22:18 MSK 2003 gvs@road.yandex.ru:/local/usr/src/sys/i386/compile/ROAD i386


	
>Description:
	I used to use Vim for many of its niceties. It seems like install: label
	in the Makefile was broken some time ago, because make install fails with
	the following error:

cp -r ../runtime/macros/* /usr/local/share/vim/vim62/macros
cp: ../runtime/macros/maze/mazeclean.c.orig: Invalid argument
cp: ../runtime/macros/maze/main.aap.orig: Invalid argument
*** Error code 1

Stop in /local/ports/editors/vim/work/vim62/src.

	Quite obviously, some clean-up wasn't done after patching which prevents
	installation from being completed.
>How-To-Repeat:
	cd to editors/vim in your ports collection, cvsup it to the actual state and
	type make install. I personally used

	make WITH_GTK2=yes WITH_RUBY=yes WITH_TCL=yes WITH_PERL=yes WITH_PYTHON=yes install

	but it's unlikely affects the result.
>Fix:
	I removed those .orig files, repeated make install and it was successful. Proposed
	patch to editors/vim/Makefile follows. How to apply:

	cd /usr/ports/editors/vim
	patch < /path/to/this/message

--- Makefile.orig	Thu Dec  4 13:25:36 2003
+++ Makefile	Thu Dec  4 13:26:46 2003
@@ -141,6 +141,9 @@
 		s|\$$gtk_config_exec_prefix/bin/gtk-config|\$${GTK_CONFIG}|' \
 		${WRKSRC}/auto/configure
 
+pre-install:
+	@rm ${WRKSRC}/runtime/macros/maze/*.orig
+
 post-install:
 	[ -e ${PREFIX}/bin/gvim ] || (cd ${PREFIX}/bin ; ${LN} -sf vim gvim)
 	#	below needed for `vim-lite' port
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312041139.hB4Bdmvc036298>