editors/vim installs to /

Anonymous swell.k at gmail.com
Sat Sep 18 03:13:17 UTC 2010


Anonymous <swell.k at gmail.com> writes:

> jhell <jhell at DataIX.net> writes:
>
>> After a force upgrade of vim that had failed unfortunately not
>> registering the files it installed already I found out that it is
>> installing to / ~!!!!! ugh.
>
> Does the following diff fixes it?
>
> %%
> Index: editors/vim/Makefile
> ===================================================================
> RCS file: /a/.cvsup/ports/editors/vim/Makefile,v
> retrieving revision 1.357
> diff -u -p -r1.357 Makefile
> --- editors/vim/Makefile	17 Sep 2010 00:46:45 -0000	1.357
> +++ editors/vim/Makefile	17 Sep 2010 23:47:49 -0000
> @@ -166,7 +166,7 @@ MAKE_ARGS+=	CONF_OPT_GUI="--enable-gui=n
>  MAKE_ARGS+=	CONF_OPT_PERL="--disable-perlinterp --disable-pythoninterp --disable-tclinterp --disable-rubyinterp"
>  .endif	# LITE
>  
> -.if exists(${PREFIX}/lib/libiconv.so)
> +.if exists(${LOCALBASE}/lib/libiconv.so)
>  USE_ICONV=	yes
>  .endif
>  

Oops, this hunk with a tiny bit of description is now in ports/150690.
It addresses an unrelated issue.

> @@ -211,7 +211,7 @@ pre-configure:
>  .endif
>  
>  post-configure:
> -	@(cd ${WRKSRC} ; ${MAKE} scratch config)
> +	@(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} scratch config)
>  
>  #	Clean up junk files to keep them from being installed.
>  pre-install:
> %%

And this hunk is resent as followup to ports/150649.


More information about the freebsd-ports mailing list