pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/pkgin



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sun May 17 12:13:47 UTC 2020

Modified Files:
        pkgsrc/pkgtools/pkgin: Makefile

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 pkgsrc/pkgtools/pkgin/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/pkgin/Makefile
diff -u pkgsrc/pkgtools/pkgin/Makefile:1.100 pkgsrc/pkgtools/pkgin/Makefile:1.101
--- pkgsrc/pkgtools/pkgin/Makefile:1.100        Mon May  4 11:15:50 2020
+++ pkgsrc/pkgtools/pkgin/Makefile      Sun May 17 12:13:46 2020
@@ -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|/var|${VARBASE}|g
 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