FreeBSD Bugzilla – Attachment 224139 Details for
Bug 254891
editors/vim: Linking fails for vim 8.2.2725 on 13-STABLE amd64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
add dependency on libsysinfo to vim port
editors_vim_sysinfo.diff (text/plain), 1.10 KB, created by
Oleg Sidorkin
on 2021-04-15 16:53:03 UTC
(
hide
)
Description:
add dependency on libsysinfo to vim port
Filename:
MIME Type:
Creator:
Oleg Sidorkin
Created:
2021-04-15 16:53:03 UTC
Size:
1.10 KB
patch
obsolete
>diff --git a/editors/vim/Makefile b/editors/vim/Makefile >index 6e7e106174c9..c78b7cf70df0 100644 >--- a/editors/vim/Makefile >+++ b/editors/vim/Makefile >@@ -13,6 +13,8 @@ LICENSE_NAME= VIM License > LICENSE_FILE= ${WRKSRC}/runtime/doc/uganda.txt > LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept > >+LIB_DEPENDS= libsysinfo.so:devel/libsysinfo >+ > USES= cpe iconv ncurses pkgconfig shebangfix > USE_GITHUB= yes > >@@ -25,6 +27,8 @@ MAKE_ARGS= STRIP="${STRIP_CMD}" \ > VIMRCLOC=${ETCDIR} \ > VIMRUNTIMEDIR=${PREFIX}/share/vim/${VIM_VER} > >+CONFIGURE_ENV+= LIBS=-lsysinfo >+LDFLAGS+= -L${LOCALBASE}/lib > CPE_VERSION= ${PORTVERSION:R} > GNU_CONFIGURE= yes > PLIST_SUB= VIM_VER=${VIM_VER} >@@ -170,10 +174,6 @@ post-patch: > ${REINPLACE_CMD} -e 's|-liconv|${ICONV_LIB}|g; s|/usr/local|${LOCALBASE}|g' \ > ${WRKSRC}/src/auto/configure > >-post-configure: >-# Needed when devel/libsysinfo is installed: >- ${REINPLACE_CMD} -e '/#define HAVE_SYSINFO 1/ d' ${WRKSRC}/src/auto/config.h >- > post-install-DEFAULT_VIMRC-on: > ${MKDIR} ${STAGEDIR}${ETCDIR} > ${INSTALL_DATA} ${FILESDIR}/vimrc ${STAGEDIR}${ETCDIR}/vimrc.sample
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 254891
: 224139