mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
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)
This commit is contained in:
parent
02778ac613
commit
3e64af4066
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=524609
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user