Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2022 12:00:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264655] make in possible to wrap FETCH_BINARY
Message-ID:  <bug-264655-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264655

            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 origi=
nal
FETCH_BINARY with additional "-o $filename" arguments.

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

FETCH_BINARY:=3D  /bin/sh ${FILESDIR}/fetchit ${FETCH_BINARY}

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.

--=20
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-264655-7788>