Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2018 18:27:20 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479778 - head/Mk/Uses
Message-ID:  <201809141827.w8EIRK69015924@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809141827.w8EIRK69015924>