Page MenuHomeFreeBSD

Add BINARY_WRAPPERS
ClosedPublic

Authored by bapt on Sep 29 2019, 5:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 3, 3:41 PM
Unknown Object (File)
Wed, Apr 3, 3:41 PM
Unknown Object (File)
Wed, Apr 3, 3:41 PM
Unknown Object (File)
Wed, Apr 3, 3:27 PM
Unknown Object (File)
Feb 5 2024, 12:06 PM
Unknown Object (File)
Feb 2 2024, 10:01 AM
Unknown Object (File)
Dec 18 2023, 2:51 PM
Unknown Object (File)
Dec 4 2023, 9:48 PM
Subscribers

Details

Summary

BINARY_WRAPPERS allow to push in front of the PATH wrappers for binaries.
This is useful when 2 tools do provide the same feature, but the configure
scripts do test for some variables which are not in one of the tool.

For example m4 in base is mostly compatible with GNU m4 when called with the -g
arguement. This wrapper allows to use it with build systems that do check for it
calling --version and expecting GNU in the arguments.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Should't this be a USES instead of some new code in bsd.port.mk?

Like USES= wrapper:gm4 or something.

I do think it is too short for a USES, I can do it, but in this case it seems simpler like this to me.

This revision was not accepted when it landed; it landed in state Needs Review.Oct 1 2019, 2:33 PM
This revision was automatically updated to reflect the committed changes.