Page MenuHomeFreeBSD

Mk/Uses/dos2unix.mk: Do not accept any arguments
ClosedPublic

Authored by tobik on Sep 12 2018, 1:57 PM.
Tags
None
Referenced Files
F81584692: D17133.diff
Thu, Apr 18, 12:34 PM
Unknown Object (File)
Feb 11 2024, 2:54 AM
Unknown Object (File)
Feb 10 2024, 5:01 AM
Unknown Object (File)
Dec 27 2023, 3:39 AM
Unknown Object (File)
Dec 27 2023, 3:39 AM
Unknown Object (File)
Dec 27 2023, 3:39 AM
Unknown Object (File)
Dec 27 2023, 3:39 AM
Unknown Object (File)
Dec 27 2023, 3:27 AM
Subscribers

Details

Reviewers
None
Group Reviewers
O5: Ports Framework(Owns No Changed Paths)
portmgr
Commits
rP479778: Be more strict and let USES=dos2unix accept no arguments
Summary

In D16995 it was attempted to use something like

USES=	dos2unix:src/menu.cpp

to only apply dos2unix to ${WRKSRC}/src/menu.cpp. This is wrong and will
apply it to all files in ${WRKSRC} instead. It would be nice to if dos2unix
would print an error message in that case as some USES macros already do.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 19542
Build 19129: arc lint + arc unit

Event Timeline

Mk/Uses/dos2unix.mk
16
IGNORE=
tobik marked an inline comment as done.

+= -> =

Before committing, please make sure it breaks no port.

This revision was not accepted when it landed; it landed in state Needs Review.Sep 14 2018, 6:27 PM
This revision was automatically updated to reflect the committed changes.