[Bug 251855] x11-toolkits/gtk30 graphics/movit x11-servers/xorg-server x11-servers/xwayland: fatal error: 'epoxy/glx.h' file not found

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 18 19:48:46 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251855

--- Comment #5 from Jan Beich <jbeich at FreeBSD.org> ---
Similar to bug 247517:
- a port cannot force its dependencies built with particular options set/unset
e.g., movit, xorg-server, xwayland need to require libepoxy built with X11 set
- _IMPLIES and _EXCLUDE cannot unset conflicting options (see also bug 202701)
e.g., gtk30 need to disable ATK_BRIDGE when X11 is disabled

Individiual maintainers can't do much e.g.,

pre-everything:
# OPTIONS_UNSET+=X11 is ignored by _IMPLIES=ATK_BRIDGE
.if defined(OPTIONS_UNSET) && ${OPTIONS_UNSET:MX11}
        @if [ "${PORT_OPTIONS:MATK_BRIDGE}" ]; then \
                ${ECHO_MSG} "ATK_BRIDGE implies X11 but X11 was disabled
globally."; \
                ${FALSE}; \
        fi
.endif

pre-configure:
# OPTIONS_UNSET+=X11 is not compatible with this port
        @if [ "$$(pkg-config epoxy --variable epoxy_has_glx)" -ne 1 ]; then \
                ${ECHO_MSG} "${PORTNAME} requires libepoxy built with X11
support."; \
                ${FALSE}; \
        fi

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-x11 mailing list