Bug 202168

Summary: editors/vim: *vimrc "sample" is broken...
Product: Ports & Packages Reporter: Michelle Sullivan <michelle>
Component: Individual Port(s)Assignee: Adam Weinberger <adamw>
Status: Closed Works As Intended    
Severity: Affects Some People CC: adamw
Priority: --- Flags: bugzilla: maintainer-feedback? (sunpoet)
Version: Latest   
Hardware: Any   
OS: Any   

Description Michelle Sullivan 2015-08-08 00:56:45 UTC
This fixes it...

[michelle@colossus /Storage/source/ports/head]$ diff -Nru ../../current/editors/vim editors/vim
diff -Nru ../../current/editors/vim/Makefile editors/vim/Makefile
--- ../../current/editors/vim/Makefile	2015-07-25 09:40:31.000000000 +0200
+++ editors/vim/Makefile	2015-08-08 02:27:51.001392964 +0200
@@ -155,8 +155,8 @@
 
 post-install-DEFAULT_VIMRC-on:
 	${MKDIR} ${STAGEDIR}${ETCDIR}
-	${INSTALL_DATA} ${FILESDIR}/vimrc ${STAGEDIR}${ETCDIR}/gvimrc.sample
-	${INSTALL_DATA} ${FILESDIR}/vimrc ${STAGEDIR}${ETCDIR}/vimrc.sample
+	${INSTALL_DATA} ${WRKSRC}/runtime/gvimrc_example.vim ${STAGEDIR}${ETCDIR}/gvimrc.sample
+	${INSTALL_DATA} ${WRKSRC}/runtime/vimrc_example.vim ${STAGEDIR}${ETCDIR}/vimrc.sample
 
 post-install-NLS-off:
 	${MKDIR} ${STAGEDIR}${DATADIR}/${VIM_VER}/keymap/
Comment 1 Adam Weinberger freebsd_committer freebsd_triage 2016-10-01 03:58:18 UTC
Reassigning to myself.
Comment 2 Adam Weinberger freebsd_committer freebsd_triage 2016-10-01 03:59:57 UTC
Michelle, I'm not following. How is the sample vimrc broken?
Comment 3 Michelle Sullivan 2016-10-01 12:27:54 UTC
Dunno, so long ago now, the patch I provided would suggest that there was a problem with the naming.  Meybe that's fixed now may be not... TBH after being told stuff would not be fixed on 9.x and/or on with the latest and greatest pkgng etc I decided to build my own ports tree and my own version of BSD so now so not really concerned with breakage in FreeBSD.  Up to you if you fix it or not or if it is fixed or not.
Comment 4 Adam Weinberger freebsd_committer freebsd_triage 2016-10-01 16:11:29 UTC
Okay. Well that patch installs stuff with the same name. We do support 9.x (for the next few months anyway) and we definitely support pkgng, so I'm sorry that you were given a bad experience.

There's no particular problem with the naming of the sample vimrc at this point AFAICT, so I'll close out this bug.