Bug 205470

Summary: devel/powerpc64-gcc: let slave ports define additional build dependencies
Product: Ports & Packages Reporter: Oleksandr Tymoshenko <gonzo>
Component: Individual Port(s)Assignee: Baptiste Daroussin <bapt>
Status: Closed Not A Bug    
Severity: Affects Only Me Keywords: easy, patch
Priority: --- Flags: bugzilla: maintainer-feedback? (bapt)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
powerpc64-gcc-build_depends.diff none

Description Oleksandr Tymoshenko freebsd_committer freebsd_triage 2015-12-20 21:39:54 UTC
Created attachment 164432 [details]
powerpc64-gcc-build_depends.diff

Append to BUILD_DEPENDS variable instead of setting it. This allows slave ports define additional dependencies. Existing ports do not need this functionality but upcoming devel/mips-none-elf-gcc port requires it
Comment 1 Baptiste Daroussin freebsd_committer freebsd_triage 2015-12-25 10:00:07 UTC
Why not simply adding the new build dependency after including the master port makefile inside devel/mips-none-elf-gcc/Makefile

like

.include "${MASTERDIR}"/Makefile

BUILD_DEPENDS+= newdep
Comment 2 Oleksandr Tymoshenko freebsd_committer freebsd_triage 2016-02-28 22:40:58 UTC
portlint complains if there is anything after ".include" line. But it's, probably more portlint issue. Closing this one