- Convert to using patch instead of REINPLACE

This commit is contained in:
Steve Wills 2014-02-19 04:04:06 +00:00
parent 5bc9901fb7
commit 143148673c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344994
2 changed files with 11 additions and 3 deletions

View File

@ -19,8 +19,5 @@ RUN_DEPENDS= rubygem-railties>=3.2.0:${PORTSDIR}/www/rubygem-railties \
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
post-patch:
@${REINPLACE_CMD} -e '46 s|~>|>=|' ${WRKSRC}/${GEM_NAME}.gemspec
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- sass-rails-3.2.6.gemspec.orig 2014-02-19 03:55:59.669617961 +0000
+++ sass-rails-3.2.6.gemspec 2014-02-19 03:55:59.699618518 +0000
@@ -43,7 +43,7 @@
name: tilt
requirement: !ruby/object:Gem::Requirement
requirements:
- - - "~>"
+ - - ">="
- !ruby/object:Gem::Version
version: '1.3'
type: :runtime