aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-09-05 11:27:13 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-09-05 11:27:13 +0000
commit4c038326be7620930722d8d137ca1702729c7cb9 (patch)
tree3bbdcbcbe287533fc01f508b5f567fe82182d939 /Mk
parenta6448a6695c3ac69d2cf8d3a9832d65d7f773ffe (diff)
downloadports-4c038326be7620930722d8d137ca1702729c7cb9.tar.gz
ports-4c038326be7620930722d8d137ca1702729c7cb9.zip
MFH: r511176
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 Approved by: ports-secteam blanket
Notes
Notes: svn path=/branches/2019Q3/; revision=511178
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gecko.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index f678e41d5e88..a7b0c8b1e16c 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -293,7 +293,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