Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Sep 2010 07:06:43 +0400
From:      Anonymous <swell.k@gmail.com>
To:        obrien@FreeBSD.org
Cc:        freebsd-ports@freebsd.org
Subject:   Re: editors/vim installs to /
Message-ID:  <86fwx7sqbg.fsf@gmail.com>
In-Reply-To: <86fwx8exn2.fsf@gmail.com> (Anonymous's message of "Sat, 18 Sep 2010 03:52:17 %2B0400")
References:  <4C93AA31.5080202@DataIX.net> <86fwx8exn2.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Anonymous <swell.k@gmail.com> writes:

> jhell <jhell@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.



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