svn commit: r479778 - head/Mk/Uses
Tobias Kortkamp
tobik at FreeBSD.org
Fri Sep 14 18:27:20 UTC 2018
Author: tobik
Date: Fri Sep 14 18:27:20 2018
New Revision: 479778
URL: https://svnweb.freebsd.org/changeset/ports/479778
Log:
Be more strict and let USES=dos2unix accept no arguments
Approved by: portmgr (mat)
Differential Revision: https://reviews.freebsd.org/D17133
Modified:
head/Mk/Uses/dos2unix.mk
Modified: head/Mk/Uses/dos2unix.mk
==============================================================================
--- head/Mk/Uses/dos2unix.mk Fri Sep 14 16:56:48 2018 (r479777)
+++ head/Mk/Uses/dos2unix.mk Fri Sep 14 18:27:20 2018 (r479778)
@@ -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
More information about the svn-ports-all
mailing list