Received: by mail.netbsd.org (Postfix, from userid 605) id B700984D8A; Tue, 24 Mar 2020 04:40:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 401F484D81 for ; Tue, 24 Mar 2020 04:40:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id ymrbfsftoByo for ; Tue, 24 Mar 2020 04:40:34 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id B5E5684D7C for ; Tue, 24 Mar 2020 04:40:34 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id AF9ACFB27; Tue, 24 Mar 2020 04:40:34 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1585024834292990" MIME-Version: 1.0 Date: Tue, 24 Mar 2020 04:40:34 +0000 From: "Roland Illig" Subject: CVS commit: pkgsrc To: pkgsrc-changes@NetBSD.org Reply-To: rillig@netbsd.org X-Mailer: log_accum Message-Id: <20200324044034.AF9ACFB27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1585024834292990 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: rillig Date: Tue Mar 24 04:40:34 UTC 2020 Modified Files: pkgsrc/lang/python: application.mk pkgsrc/mk/configure: replace-interpreter.mk Log Message: replace-interpreter: make documentation more precise There are several places in pkgsrc where the files to be patched are listed individually instead of just saying util/*/*.sh. This is unnecessarily detailed. Encourage package authors to use filename patterns more often. An example is REPLACE_PYTHON in lang/clang, which currently fails because some of the listed files don't exist anymore. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/python/application.mk cvs rdiff -u -r1.18 -r1.19 pkgsrc/mk/configure/replace-interpreter.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1585024834292990 Content-Disposition: inline Content-Length: 1858 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/python/application.mk diff -u pkgsrc/lang/python/application.mk:1.12 pkgsrc/lang/python/application.mk:1.13 --- pkgsrc/lang/python/application.mk:1.12 Mon Jul 3 18:13:43 2017 +++ pkgsrc/lang/python/application.mk Tue Mar 24 04:40:34 2020 @@ -1,4 +1,4 @@ -# $NetBSD: application.mk,v 1.12 2017/07/03 18:13:43 joerg Exp $ +# $NetBSD: application.mk,v 1.13 2020/03/24 04:40:34 rillig Exp $ # # Replace the #! interpreter for Python scripts. # @@ -10,7 +10,8 @@ # Package-settable variables: # # REPLACE_PYTHON -# A list of Python scripts to be installed, relative to ${WRKSRC}. +# A list of filename patterns for Python scripts to be installed, +# relative to ${WRKSRC}. # # Keywords: python # Index: pkgsrc/mk/configure/replace-interpreter.mk diff -u pkgsrc/mk/configure/replace-interpreter.mk:1.18 pkgsrc/mk/configure/replace-interpreter.mk:1.19 --- pkgsrc/mk/configure/replace-interpreter.mk:1.18 Sun Mar 22 21:31:21 2020 +++ pkgsrc/mk/configure/replace-interpreter.mk Tue Mar 24 04:40:34 2020 @@ -1,4 +1,4 @@ -# $NetBSD: replace-interpreter.mk,v 1.18 2020/03/22 21:31:21 rillig Exp $ +# $NetBSD: replace-interpreter.mk,v 1.19 2020/03/24 04:40:34 rillig Exp $ # This file provides common templates for replacing #! interpreters # in script files. @@ -12,9 +12,9 @@ # REPLACE_PERL # REPLACE_PERL6 # REPLACE_SH -# Lists of files relative to WRKSRC in which the #! interpreter -# should be replaced by the pkgsrc one. If any directories -# appear in the lists, they are silenty skipped, assuming that +# Lists of filename patterns relative to WRKSRC in which the #! +# interpreter should be replaced by the pkgsrc one. Any directories +# that appear in the lists are silenty skipped, assuming that # they result from shell globbing expressions. # # Use REPLACE_SH for shell programs that don't need any --_----------=_1585024834292990--