[Bug 234495] USE_GCC installs gcc as a run-depend?

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 29 21:53:25 UTC 2018


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

            Bug ID: 234495
           Summary: USE_GCC installs gcc as a run-depend?
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: bergerkos at yahoo.co.uk

When I'm using the Makefile fields "USE_GCC=yes
GCC_COMMAND=/usr/local/bin/gcc8" in my port's Makefile the resulting packages
installs the specified gcc compiler package as a dependency.

However, the Porter's Handbook at
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-depend.html
explicitly mentions the meaning of the "USE_GCC=" optiona as:

The port requires GCC (gcc or g++) to build. [...]

To build, it says, and adds nothing about installing it together with the
compiled port package. In reality, though, this usage ends up in the
gcc-$version package being installed along with the port itself. The only way
to avoid this currently is to only specify gcc in BUILD_DEPENDS.

What is it? Inconsistency in the documentation? Or a bug in the ports building
framework?

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


More information about the freebsd-ports-bugs mailing list