diff options
author | rillig <rillig@pkgsrc.org> | 2019-05-23 19:22:54 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2019-05-23 19:22:54 +0000 |
commit | cabadf3d995dfdb93e43fa33e676fdfbb6f7d1f5 (patch) | |
tree | dfd45506cac9c8adb60a55d809ab0dbc4d5a750e /archivers | |
parent | afe0216c35d9e0e0b96fe80eb38badf368ef84a7 (diff) | |
download | pkgsrc-cabadf3d995dfdb93e43fa33e676fdfbb6f7d1f5.tar.gz |
all: replace SUBST_SED with the simpler SUBST_VARS
pkglint -Wall -r --only "substitution command" -F
With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/freeze/Makefile | 4 | ||||
-rw-r--r-- | archivers/ruby-xz/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/archivers/freeze/Makefile b/archivers/freeze/Makefile index 758976d368e..0ceb094cb9d 100644 --- a/archivers/freeze/Makefile +++ b/archivers/freeze/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2018/07/04 13:40:07 jperkin Exp $ +# $NetBSD: Makefile,v 1.28 2019/05/23 19:22:54 rillig Exp $ DISTNAME= freeze-2.5 PKGREVISION= 3 @@ -21,6 +21,6 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 SUBST_CLASSES+= freeze SUBST_STAGE.freeze= pre-configure SUBST_FILES.freeze= *.1 -SUBST_SED.freeze= -e 's|@PREFIX@|${PREFIX}|g' +SUBST_VARS.freeze= PREFIX .include "../../mk/bsd.pkg.mk" diff --git a/archivers/ruby-xz/Makefile b/archivers/ruby-xz/Makefile index b777ddc7030..f68b1ec048c 100644 --- a/archivers/ruby-xz/Makefile +++ b/archivers/ruby-xz/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2019/04/15 06:11:32 wiz Exp $ +# $NetBSD: Makefile,v 1.18 2019/05/23 19:22:55 rillig Exp $ DISTNAME= ruby-xz-1.0.0 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//} @@ -16,7 +16,7 @@ RUBY_VERSIONS_ACCEPTED= 24 25 26 SUBST_CLASSES+= path SUBST_STAGE.path= pre-configure SUBST_FILES.path= lib/xz/lib_lzma.rb -SUBST_SED.path+= -e "s,@LOCALBASE@,${LOCALBASE},g" +SUBST_VARS.path= LOCALBASE SUBST_SED.path+= -e "s,@SHLIB_EXT@,${RUBY_SLEXT},g" .include "../../lang/ruby/gem.mk" |