Bug 255085

Summary: Mk/Uses/go.mk: Allow ports to have additional distfiles
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Ports FrameworkAssignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me CC: ports-bugs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch dmgk: maintainer-approval+

Description Yuri Victorovich freebsd_committer freebsd_triage 2021-04-15 09:29:41 UTC
Created attachment 224129 [details]
patch

Some ports need to perform extra build steps for which they need additional distfiles.

The attached patch makes go.mk to preserve MASTER_SITES,DISTFILES,EXTRACT_ONLY set by port's Makefile.

Purpose: www/adguardhome needs to add frontend html tarballs that the build expects.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2021-04-16 21:19:33 UTC
Committed.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-04-16 21:20:24 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b77a05bb44c206268971d14beb92fb9cf1d28842

commit b77a05bb44c206268971d14beb92fb9cf1d28842
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-04-16 21:17:36 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-04-16 21:19:20 +0000

    Mk/Uses/go.mk: Allow ports to have additional distfiles

    Some ports need to perform extra build steps for which they need additional distfiles.

    This commit makes go.mk to preserve MASTER_SITES,DISTFILES,EXTRACT_ONLY set by port's Makefile.

    PR:             255085
    Approved by:    dmgk (maintainer)

 Mk/Uses/go.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)