From owner-svn-ports-head@freebsd.org Fri Sep 14 18:27:20 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C1DCD1090366; Fri, 14 Sep 2018 18:27:20 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 76A938CC16; Fri, 14 Sep 2018 18:27:20 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 71A15135; Fri, 14 Sep 2018 18:27:20 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8EIRKQA015925; Fri, 14 Sep 2018 18:27:20 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8EIRK69015924; Fri, 14 Sep 2018 18:27:20 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201809141827.w8EIRK69015924@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Fri, 14 Sep 2018 18:27:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r479778 - head/Mk/Uses X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/Mk/Uses X-SVN-Commit-Revision: 479778 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2018 18:27:20 -0000 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