editors/vim installs to /
Anonymous
swell.k at gmail.com
Sat Sep 18 00:20:53 UTC 2010
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:
%%
More information about the freebsd-ports
mailing list