Convert REINPLACE_CMD to patch file

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-08-27 19:07:21 +00:00
parent cd9a81cfe1
commit 76906b09f8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546663
2 changed files with 11 additions and 3 deletions

View File

@ -24,7 +24,4 @@ NO_ARCH= yes
PLIST_FILES= bin/please-manage-user bin/pleaserun
post-patch:
@${REINPLACE_CMD} -e '/mustache/ s|= 0\.99\.8|>&|' ${WRKSRC}/${GEMSPEC}
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- pleaserun.gemspec.orig 2020-08-22 12:02:47 UTC
+++ pleaserun.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency(%q<cabin>.freeze, ["> 0"])
s.add_runtime_dependency(%q<clamp>.freeze, [">= 0"])
s.add_runtime_dependency(%q<stud>.freeze, [">= 0"])
- s.add_runtime_dependency(%q<mustache>.freeze, ["= 0.99.8"])
+ s.add_runtime_dependency(%q<mustache>.freeze, [">= 0.99.8"])
s.add_runtime_dependency(%q<insist>.freeze, [">= 0"])
s.add_runtime_dependency(%q<dotenv>.freeze, [">= 0"])
else