diff options
author | Christoph Moench-Tegeder <cmt@FreeBSD.org> | 2020-01-30 05:53:16 +0800 |
---|---|---|
committer | Christoph Moench-Tegeder <cmt@FreeBSD.org> | 2020-01-30 05:53:16 +0800 |
commit | 3e64af4066c7f224407db11de86ba7ded1ab323d (patch) | |
tree | d508632270a0a5df09be6a171a842bf5e5cc6810 | |
parent | 02778ac61347b338f153ab904a1e21807c7e0097 (diff) | |
download | freebsd-ports-gnome-3e64af4066c7f224407db11de86ba7ded1ab323d.tar.gz freebsd-ports-gnome-3e64af4066c7f224407db11de86ba7ded1ab323d.tar.zst freebsd-ports-gnome-3e64af4066c7f224407db11de86ba7ded1ab323d.zip |
net/liferea: unbreak build
liferea tries to initialize it's graphics backend even when being run
for gobject introspection only - and that causes webkit to crash or
hang when there is no X server or similar available (e.g. during package
build in poudriere). This environment variable makes webkit survive
the package build.
PR: 243680
Submitted by: v1ne2go
Approved by: portmgr blanket (trivial and tested build fix)
-rw-r--r-- | net/liferea/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/liferea/Makefile b/net/liferea/Makefile index b6437109e11a..4eee2538119a 100644 --- a/net/liferea/Makefile +++ b/net/liferea/Makefile @@ -11,8 +11,6 @@ COMMENT= Simple RSS/RDF feed reader LICENSE= GPLv2 -BROKEN= fails to build - BUILD_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ @@ -31,6 +29,11 @@ GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CONFIGURE_ARGS= --enable-introspection +# Introspection starts the program, but it may hang or crash-abort +# without an X server because the Webkit compositor tries to initialize +# a graphics backend +MAKE_ENV+= WEBKIT_DISABLE_COMPOSITING_MODE=1 + GLIB_SCHEMAS= net.sf.liferea.gschema.xml INSTALLS_ICONS= yes |