Page MenuHomeFreeBSD

Add BINARY_WRAPPERS
ClosedPublic

Authored by bapt on Sep 29 2019, 5:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 3:45 PM
Unknown Object (File)
Nov 25 2024, 8:10 PM
Unknown Object (File)
Nov 24 2024, 6:04 AM
Unknown Object (File)
Nov 23 2024, 4:33 AM
Unknown Object (File)
Nov 20 2024, 5:12 PM
Unknown Object (File)
Nov 14 2024, 6:06 AM
Unknown Object (File)
Nov 8 2024, 3:22 AM
Unknown Object (File)
Oct 18 2024, 8:49 AM
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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 26755
Build 25105: arc lint + arc unit

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.