Be more strict and let USES=dos2unix accept no arguments

Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D17133
This commit is contained in:
Tobias Kortkamp 2018-09-14 18:27:20 +00:00
parent 5413b62166
commit c671cb46ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479778

View file

@ -12,6 +12,10 @@
.if !defined(_INCLUDE_USES_DOS2UNIX_MK)
_INCLUDE_USES_DOS2UNIX_MK= yes
.if !empty(dos2unix_ARGS)
IGNORE= USES=dos2unix takes no arguments
.endif
.if !defined(DOS2UNIX_FILES) && !defined(DOS2UNIX_REGEX) && !defined(DOS2UNIX_GLOB)
_DOS2UNIX_ALL= yes
.endif