Page MenuHomeFreeBSD

proposal for USES=replace
Needs ReviewPublic

Authored by swills on Jan 5 2021, 8:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 23 2023, 1:28 AM
Unknown Object (File)
Nov 15 2023, 7:49 PM
Unknown Object (File)
Aug 25 2023, 4:34 PM
Unknown Object (File)
Jul 5 2023, 11:57 AM
Unknown Object (File)
Apr 8 2023, 10:32 AM
Unknown Object (File)
Mar 22 2023, 7:51 AM
Unknown Object (File)
Dec 25 2022, 10:32 AM
Subscribers
None

Details

Reviewers
None
Group Reviewers
portmgr
Summary

I think it might be useful to have a USES=replace, similar to USES=shebangfix.

This would replace direct usage of REINPLACE_CMD in ports for replacing %%PREFIX%% and %%LOCALBASE%% in patched files. Patch files would still be required to put the %%PREFIX%% and/or %%LOCALBASE%% into the source(s).

There seems to be a lot of that type of usage in ports right now so I think it would be useful. We could then start separating that type of use of REINPLACE_CMD from other usage and encouraging people to use a patch and USES=replace.

This patch includes a sample port update for graphics/acidwarp-sdl.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 35956
Build 32845: arc lint + arc unit