diff options
author | rillig <rillig@pkgsrc.org> | 2020-05-17 12:13:46 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-05-17 12:13:46 +0000 |
commit | 6e18ae3f65ca7f738d618e39b61d10b79ab919bd (patch) | |
tree | 85a64ac08272e0bef45ec999e7547b879e4669bd /pkgtools/pkgin/Makefile | |
parent | 1fdb935ce4e782c8ad98e3e6d9b8c9df8c9eabbe (diff) | |
download | pkgsrc-6e18ae3f65ca7f738d618e39b61d10b79ab919bd.tar.gz |
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 (limited to 'pkgtools/pkgin/Makefile')
-rw-r--r-- | pkgtools/pkgin/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgtools/pkgin/Makefile b/pkgtools/pkgin/Makefile index 7f529f69ba6..4aeeb34fa18 100644 --- a/pkgtools/pkgin/Makefile +++ b/pkgtools/pkgin/Makefile @@ -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 |