Bug 216591

Summary: Mk/bsd.xorg.mk: support :build
Product: Ports & Packages Reporter: John Hein <jcfyecrayz>
Component: Ports FrameworkAssignee: freebsd-x11 mailing list <x11>
Status: New ---    
Severity: Affects Only Me CC: portmgr, ports-bugs, zeising
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 238988    
Bug Blocks:    
Description Flags
[patch] add :build support to bsd.xorg.mk
[patch] [v2] add :build support to bsd.xorg.mk none

Description John Hein 2017-01-30 01:27:19 UTC
Created attachment 179413 [details]
[patch] add :build support to bsd.xorg.mk

There's a few places in the tree including bsd.xorg.mk itself that expected USE_XORG to support a :build option for components.  As far as I can see, the infrastructure never has supported it.

Attached is a patch to not include :build components in RUN_DEPENDS.

There are probably a number of cases in the tree that could/should use :build for xorg components, but that's a followup exercise enabled by this patch.
Comment 1 Mathieu Arnold freebsd_committer 2017-01-30 09:09:46 UTC
over to maintainer
Comment 2 John Hein 2017-01-30 16:36:13 UTC
Created attachment 179430 [details]
[patch] [v2] add :build support to bsd.xorg.mk

Fix patch - remove extra brace level.
Comment 3 Niclas Zeising freebsd_committer 2019-09-20 14:43:59 UTC
I'm not sure :build is actually needed.  Almost all things in Uses/xorg.mk are libraries, which would be both build- and runtime needed anyway.