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

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238988

--- Comment #9 from Niclas Zeising <[email protected]> ---
(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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.