Bug 202168 - editors/vim: *vimrc "sample" is broken...
Summary: editors/vim: *vimrc "sample" is broken...
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Adam Weinberger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-08 00:56 UTC by Michelle Sullivan
Modified: 2016-10-01 16:11 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.