Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkgin pkgtools/pkgin: allow no-op SUBST block...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/75f2cc8b39d0
branches:  trunk
changeset: 431895:75f2cc8b39d0
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun May 17 12:13:46 2020 +0000

description:
pkgtools/pkgin: allow no-op SUBST block for paths

In a pkgsrc setup with default paths, the simple substitutions are all
no-ops.  The last two substitutions only apply to Makefile.in, which
means that they are no-ops for the other files.  Since the whole sed
command is not considered an identity substitution, an explicit
SUBST_NOOP_OK is needed here.

https://mail-index.netbsd.org/pkgsrc-users/2020/05/17/msg031245.html

diffstat:

 pkgtools/pkgin/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 205dfb9b6cb3 -r 75f2cc8b39d0 pkgtools/pkgin/Makefile
--- a/pkgtools/pkgin/Makefile   Sun May 17 11:20:57 2020 +0000
+++ b/pkgtools/pkgin/Makefile   Sun May 17 12:13:46 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.100 2020/05/04 11:15:50 jperkin Exp $
+# $NetBSD: Makefile,v 1.101 2020/05/17 12:13:46 rillig Exp $
 
 DISTNAME=              pkgin-0.16.1
 CATEGORIES=            pkgtools
@@ -32,6 +32,7 @@
 SUBST_SED.path+=       -e "s|/usr/pkg|${PREFIX}|g"
 SUBST_SED.path+=       -e "s|!=.*uname -p|=    ${MACHINE_ARCH}|g"
 SUBST_SED.path+=       -e '/^BSD_PKG_MK/a\${.newline}PKGPATH=  ${PKGPATH}${.newline}'
+SUBST_NOOP_OK.path=    yes
 
 GNU_CONFIGURE=         yes
 USE_FEATURES=          nbcompat



Home | Main Index | Thread Index | Old Index