Bug 236545 - [PATCH] Mk/bsd.gcc.mk: add GCC_BUILD_ONLY option
Summary: [PATCH] Mk/bsd.gcc.mk: add GCC_BUILD_ONLY option
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Gerald Pfeifer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-15 07:04 UTC by Ivan Rozhuk
Modified: 2019-04-24 09:50 UTC (History)
2 users (show)

See Also:


Attachments
patch (806 bytes, patch)
2019-03-15 07:04 UTC, Ivan Rozhuk
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Rozhuk 2019-03-15 07:04:37 UTC
Created attachment 202875 [details]
patch

Set/define GCC_BUILD_ONLY option to do not add gcc to RUN_DEPENDS.
Some ports needs gcc to build, but can run witout installed gcc, for example math/mprime.
Comment 1 Tobias Kortkamp freebsd_committer freebsd_triage 2019-04-23 05:19:10 UTC
Earlier work: https://reviews.freebsd.org/D7223
Comment 2 Ivan Rozhuk 2019-04-23 17:53:21 UTC
https://reviews.freebsd.org/D7223
is better
Comment 3 Gerald Pfeifer freebsd_committer freebsd_triage 2019-04-23 23:43:33 UTC
I had to clean up and update a number of other things in the past months
(and not too much time), but this is now my next area of attention, so I
hope to land a solution for this -- based on https://reviews.freebsd.org/D7223
in the next week or so.