Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2015 07:24:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204905] Moved Mk/bsd.sites.mk up before USES clauses take effect
Message-ID:  <bug-204905-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: yuri@rawbw.com
                CC: freebsd-ports-bugs@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.



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