ports/59944: make install in editors/vim port fails

Seva Gluschenko gvs at rinet.ru
Thu Dec 4 11:40:21 UTC 2003


>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 at 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:



More information about the freebsd-ports-bugs mailing list