[Bug 211154] Mk/bsd.gcc.mk: add support for build-only dependencies for USE_GCC

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 16 12:34:19 UTC 2016


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

            Bug ID: 211154
           Summary: Mk/bsd.gcc.mk: add support for build-only dependencies
                    for USE_GCC
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: fabian.freyer at physik.tu-berlin.de
                CC: freebsd-ports-bugs at FreeBSD.org, koobs at FreeBSD.org,
                    novel at FreeBSD.org

Several ports use USE_GCC but  manually remove gcc from RUN_DEPENDS by using
RUN_DEPENDS:=${RUN_DEPENDS:Ngcc*} after after including bsd.port.mk:
* sysutils/memtest86+
* sysutils/grub2-bhyve
* sysutils/grub2-pcbsd
* sysutils/grub2-efi
* misc/seabios

This is a very hacky approach.

There are several other ports (e.g. sysutils/uefi-edi2-bhyve) that have a
build-time dependency on gcc but do not depend on it at run-time.

Therefore support for adding a build-time dependency e.g. by setting
USE_GCC=yes:build or similar would be very useful.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list