Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/mono lang/mono: allow the SUBST block fix-prefix ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e6ddc5b156e
branches:  trunk
changeset: 431380:2e6ddc5b156e
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue May 12 16:46:27 2020 +0000

description:
lang/mono: allow the SUBST block fix-prefix to not affect all files

The list of files is generated via find(1) and contains each file
individually.  Some of these files are modified, some aren't.  Those
files that aren't modified are redundant, but since they are not listed
explicitly in the package Makefile, there is no superfluous code.
Avoiding such superfluous code is the whole goal of SUBST_NOOP_OK.

diffstat:

 lang/mono/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 023dda4020ee -r 2e6ddc5b156e lang/mono/Makefile
--- a/lang/mono/Makefile        Tue May 12 16:40:00 2020 +0000
+++ b/lang/mono/Makefile        Tue May 12 16:46:27 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.189 2020/05/09 12:39:44 rillig Exp $
+# $NetBSD: Makefile,v 1.190 2020/05/12 16:46:27 rillig Exp $
 
 DISTNAME=      mono-4.0.4.1
 PKGREVISION=   19
@@ -117,6 +117,7 @@
 SUBST_MESSAGE.fix-prefix=      Fixing relative prefix
 SUBST_FILES.fix-prefix=                ${PKGCONFIG_OVERRIDE}
 SUBST_SED.fix-prefix=          -e 's,$${pcfiledir}/../..,\@prefix\@,g'
+SUBST_NOOP_OK.fix-prefix=      yes # some of the files are modified
 
 SUBST_CLASSES+=                        fix-mcs
 SUBST_STAGE.fix-mcs=           pre-configure



Home | Main Index | Thread Index | Old Index