[Bug 264655] make in possible to wrap FETCH_BINARY
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264655] make in possible to wrap FETCH_BINARY"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264655] make in possible to wrap FETCH_BINARY"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 264655] make in possible to wrap FETCH_BINARY"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Jun 2022 12:00:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264655
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:
FETCH_BINARY:= /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.
--
You are receiving this mail because:
You are on the CC list for the bug.