Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jul 2016 12:34:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 211154] Mk/bsd.gcc.mk: add support for build-only dependencies for USE_GCC
Message-ID:  <bug-211154-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211154

            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@FreeBSD.org
          Reporter: fabian.freyer@physik.tu-berlin.de
                CC: freebsd-ports-bugs@FreeBSD.org, koobs@FreeBSD.org,
                    novel@FreeBSD.org

Several ports use USE_GCC but  manually remove gcc from RUN_DEPENDS by using
RUN_DEPENDS:=3D${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=3Dyes:build or similar would be very useful.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211154-13>