Bug 255085 - Mk/Uses/go.mk: Allow ports to have additional distfiles
Summary: Mk/Uses/go.mk: Allow ports to have additional distfiles
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-15 09:29 UTC by Yuri Victorovich
Modified: 2021-04-16 21:20 UTC (History)
1 user (show)

See Also:


Attachments
patch (749 bytes, patch)
2021-04-15 09:29 UTC, Yuri Victorovich
dmgk: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 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 2021-04-16 21:19:33 UTC
Committed.
Comment 2 commit-hook freebsd_committer 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(-)