[Bug 238988] [exp-run] convert bsd.xorg.mk to USES=xorg and USES=xorg-cat

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 20 14:30:58 UTC 2019


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

--- Comment #9 from Niclas Zeising <zeising at FreeBSD.org> ---
(In reply to Tobias Kortkamp from comment #8)

Hi!
The issue, if I've figured out things correctly, is the compat stuff in
bsd.port.mk around line 1935.  This is done to support things that define
USE_XORG after bsd.port.pre.mk is included.

I see a couple of options, either perhaps fix the ports that define USE_XORG
after bsd.port.pre.mk (that doesn't already have USES=xorg).  This is probably
the most correct option, since then this warning can be removed.

The other option is to check if USES=gl or USES=xorg-cat and then not print the
warning.

The third option might be to have Uses/gl.mk and Uses/xorg-cat.mk add
dependencies to something like _USE_XORG and then in Uses/xorg.mk pick those up
as well.

I'm not sure which of these solutions is best.

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


More information about the freebsd-x11 mailing list