editors/vim installs to /

jhell jhell at DataIX.net
Sat Sep 18 00:14:33 UTC 2010


On 09/17/2010 19:52, Anonymous wrote:
> 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
>  
> @@ -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:
> %%

Since this really is not specific to one installation on a single system
and that I have already compiled and re-installed this port I will not
be testing this patch. Thank you for providing more information to the
maintainer.


Regards,

-- 

 jhell,v


More information about the freebsd-ports mailing list