Skip to content

Instantly share code, notes, and snippets.

@a-rin
Created April 12, 2021 06:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a-rin/9454f9913d25ea03f54364384da47a7b to your computer and use it in GitHub Desktop.
Save a-rin/9454f9913d25ea03f54364384da47a7b to your computer and use it in GitHub Desktop.
FreeBSD ports/editors/vim/Makefile patch
--- Makefile.orig 2021-04-12 15:42:10.693662000 +0900
+++ Makefile 2021-04-12 15:20:52.315688000 +0900
@@ -172,7 +172,7 @@
post-configure:
# Needed when devel/libsysinfo is installed:
- ${REINPLACE_CMD} -e '/#define HAVE_SYSINFO 1/ d' ${WRKSRC}/src/auto/config.h
+ ${REINPLACE_CMD} -e '/#define HAVE_SYSINFO[_A-Z]* 1/ d' ${WRKSRC}/src/auto/config.h
post-install-DEFAULT_VIMRC-on:
${MKDIR} ${STAGEDIR}${ETCDIR}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment