svn commit: r531528 - head/editors/vim
Adam Weinberger
adamw at FreeBSD.org
Sun Apr 12 16:10:59 UTC 2020
Author: adamw
Date: Sun Apr 12 16:10:58 2020
New Revision: 531528
URL: https://svnweb.freebsd.org/changeset/ports/531528
Log:
vim: Fix environment contamination from libcanberra
Vim will link against libcanberra if it's present, leading to an
undeclared link and breakage risk if canberra is removed. It only really
makes sense for it to do this during a gnome build, so explicitly
enable it there and disable it elsewhere.
PR: 245460
Reported by: Andy Mender
MFH: 2020Q2
Modified:
head/editors/vim/Makefile
Modified: head/editors/vim/Makefile
==============================================================================
--- head/editors/vim/Makefile Sun Apr 12 16:09:40 2020 (r531527)
+++ head/editors/vim/Makefile Sun Apr 12 16:10:58 2020 (r531528)
@@ -3,6 +3,7 @@
PORTNAME= vim
PORTVERSION= 8.2.0491
+PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= editors
@@ -95,6 +96,8 @@ CONSOLE_CONFIGURE_OFF= --enable-xim --enable-fontset
CONSOLE_PLIST_SUB= GUI="@comment " DESKTOP="@comment "
CONSOLE_VARS= GUI=no
+GNOME_CONFIGURE_ENABLE= canberra
+GNOME_LIB_DEPENDS= libcanberra.so:audio/libcanberra
GNOME_PLIST_SUB= GUI="" DESKTOP=""
GNOME_IMPLIES= NLS
GNOME_USE= GNOME=gdkpixbuf2,libgnomeui XORG=ice,sm,xorgproto,x11,xpm,xt
More information about the svn-ports-all
mailing list