gecko: don't require gconf on non-Gnome2 desktops

Take advantage of lazy bindings by not requiring runtime dependency.
DBus is required under Wayland (Gecko-specific) and for MIME handling
but GConf2 is useless outside of Gnome2. So, only use GConf2 if it's
already installed (similar to PulseAudio).

PR:		240323
This commit is contained in:
Jan Beich 2019-09-05 11:25:53 +00:00
parent 23067db2d2
commit 3adffbd3a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=511176
4 changed files with 5 additions and 1 deletions

View File

@ -247,7 +247,8 @@ RUN_DEPENDS+= ffmpeg>=0.8,1:multimedia/ffmpeg
.endif
.if ${PORT_OPTIONS:MGCONF}
USE_GNOME+= gconf2
# XXX USE_GNOME+=gconf2:build is not supported
BUILD_DEPENDS+= ${LOCALBASE}/lib/libgconf-2.so:devel/gconf2
MOZ_OPTIONS+= --enable-gconf
.else
MOZ_OPTIONS+= --disable-gconf

View File

@ -3,6 +3,7 @@
PORTNAME= thunderbird
DISTVERSION= 68.1.0
PORTREVISION= 1
CATEGORIES= mail news net-im ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source

View File

@ -3,6 +3,7 @@
PORTNAME= firefox
DISTVERSION= 68.1.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \

View File

@ -3,6 +3,7 @@
PORTNAME= firefox
DISTVERSION= 69.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \