svn commit: r511727 - head/sysutils/uefi-edk2-qemu
Rebecca Cran
rebecca at bsdio.com
Sat Feb 13 23:55:21 UTC 2021
On 2/13/21 3:47 PM, Gerald Pfeifer wrote:
> On Wed, 11 Sep 2019, Jan Beich wrote:
>> Rebecca Cran <bcran at freebsd.org> writes:
>>>> Only lang/gcc (meta port) installs "gcc" symlink. Why not keep USE_GCC
>>>> while using the same hack as sysutils/uefi-edk2-bhyve or misc/seabios?
>>> Oh, I see the problem. It should be
>>> gcc${GCC_DEFAULT}:lang/gcc${GCC_DEFAULT}.
>>>
>>> I'm not sure what hack you're referring to: how do those ports avoid
>>> pulling in gcc as a dependency while still using USE_GCC?
>> USE_GCC= yes
>> ...
>> .include <bsd.port.mk>
>> RUN_DEPENDS:= ${RUN_DEPENDS:Ngcc*}
>
> Even better -- and I am sorry it took me so long to get this into the
> ports infrastructure (Mk/bsd.gcc.mk) -- should be a simple
>
> USE_GCC=yes:build
>
> This essentially is a variation of what Jan proposed, just with the
> new ":build" parameter instead of manipulating RUN_DEPENDS directly.
>
> Okay to commit?
Yes, please do.
--
Rebecca Cran
More information about the svn-ports-all
mailing list