git: 4d5cf5c84730 - main - Try harder to build when libsysinfo is installed

Adam Weinberger adamw at FreeBSD.org
Fri Apr 16 14:12:48 UTC 2021


The branch main has been updated by adamw:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4d5cf5c847301e36f0ed4fe30a1b6bbb17ec2332

commit 4d5cf5c847301e36f0ed4fe30a1b6bbb17ec2332
Author:     Adam Weinberger <adamw at FreeBSD.org>
AuthorDate: 2021-04-16 14:12:06 +0000
Commit:     Adam Weinberger <adamw at FreeBSD.org>
CommitDate: 2021-04-16 14:12:44 +0000

    Try harder to build when libsysinfo is installed
    
    PR:             254891
---
 editors/vim/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/editors/vim/Makefile b/editors/vim/Makefile
index 6e7e106174c9..fa147af3d240 100644
--- a/editors/vim/Makefile
+++ b/editors/vim/Makefile
@@ -172,7 +172,7 @@ post-patch:
 
 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/ d' ${WRKSRC}/src/auto/config.h
 
 post-install-DEFAULT_VIMRC-on:
 	${MKDIR} ${STAGEDIR}${ETCDIR}


More information about the dev-commits-ports-all mailing list