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

next in thread | previous in thread | raw e-mail | index | archive | help
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
 
@@ -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:
%%



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