diff options
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/ruby-kakasi/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/japanese/ruby-kakasi/Makefile b/japanese/ruby-kakasi/Makefile index a0ef7acbf9b5..bf70ca599227 100644 --- a/japanese/ruby-kakasi/Makefile +++ b/japanese/ruby-kakasi/Makefile @@ -28,8 +28,8 @@ DOCS_JA= README.jp PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX} post-patch: - ${PERL} -i -pe 's,/usr/local,${PREFIX},g' ${WRKSRC}/extconf.rb - ${PERL} -i -pe 's,\./(kakasi),$$1,g' ${WRKSRC}/test.rb + ${RUBY} -i -pe 'gsub %r"/usr/local", "${PREFIX}"' ${WRKSRC}/extconf.rb + ${RUBY} -i -pe 'gsub %r"\./(kakasi)", "\\1"' ${WRKSRC}/test.rb post-install: ${INSTALL_SCRIPT} ${WRKSRC}/wdcnt ${PREFIX}/bin/ |