[Bug 264655] make in possible to wrap FETCH_BINARY

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Jun 2022 12:00:27 UTC

            Bug ID: 264655
           Summary: make in possible to wrap FETCH_BINARY
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: eugen@freebsd.org
                CC: ports-bugs@FreeBSD.org

I'm struggling to create some wrapper for FETCH_BINARY that is capable to
extract target archive file name from some complex URL and pass it to original
FETCH_BINARY with additional "-o $filename" arguments.

My attempt is to put the following to some port's Makefile:


This only works if I put it after ".include <bsd.port.mk>" that violate
Porter's Handbook instructions.

It does not work if I put it after .include <bsd.port.pre.mk>
Please make it work.

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