diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2020-04-12 16:10:58 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2020-04-12 16:10:58 +0000 |
commit | d47ef88916d288e4cb362a60e10d99f4ec9007a2 (patch) | |
tree | 08820b90f941eba3d963fe35253602ab7c202e64 /editors/vim | |
parent | 1fead130021e4170fc8091a0791b2ae5571a54a4 (diff) | |
download | ports-d47ef88916d288e4cb362a60e10d99f4ec9007a2.tar.gz ports-d47ef88916d288e4cb362a60e10d99f4ec9007a2.zip |
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
Notes
Notes:
svn path=/head/; revision=531528
Diffstat (limited to 'editors/vim')
-rw-r--r-- | editors/vim/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editors/vim/Makefile b/editors/vim/Makefile index b61bf6c9f96f..55fcf47e8df6 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -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 |