[Bug 204905] Moved Mk/bsd.sites.mk up before USES clauses take effect

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 30 07:24:30 UTC 2015


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

            Bug ID: 204905
           Summary: Moved Mk/bsd.sites.mk up before USES clauses take
                    effect
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr at FreeBSD.org
          Reporter: yuri at rawbw.com
                CC: freebsd-ports-bugs at FreeBSD.org

Created attachment 163674
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=163674&action=edit
patch

This patch moves 'include "${PORTSDIR}/Mk/bsd.sites.mk"' up before USES clauses
are included. bsd.sites.mk is related to fetch stage, and most USES clauses are
related to the build stage. So it is natural to have bsd.sites.mk preceding
USES. This also allows USES clauses to have access to distfile list, which is
currently impossible.

This is particularly needed for the new USES=nodejs that I am working on, which
works during the fetch stage and needs to have access to and manipulate with
DISTFILES produced by bsd.sites.mk.

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


More information about the freebsd-ports-bugs mailing list