mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Fix build with Ruby 1.9
With hat: ruby@
This commit is contained in:
parent
1c314aea11
commit
985a32c374
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278389
@ -36,6 +36,10 @@ CONFIGURE_ARGS+= --with-rubydir="${RUBY_LIBDIR}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${RUBY_VER} == 1.9
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ruby19-Makefile.in
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_LIMIT)
|
||||
PATCH_DIST_STRIP= -p1
|
||||
.endif
|
||||
|
11
mail/quickml/files/extra-patch-ruby19-Makefile.in
Normal file
11
mail/quickml/files/extra-patch-ruby19-Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- Makefile.in.orig 2004-06-07 10:21:36.000000000 +0000
|
||||
+++ Makefile.in 2011-07-26 21:48:59.000000000 +0000
|
||||
@@ -605,7 +605,7 @@
|
||||
|
||||
quickml: quickml.in
|
||||
for i in $(MESSAGES); do\
|
||||
- $(RUBY) lib/quickml/gettext.rb $$i quickml.in lib/quickml/*.rb;\
|
||||
+ $(RUBY) -E Shift_JIS:UTF-16LE lib/quickml/gettext.rb $$i quickml.in lib/quickml/*.rb;\
|
||||
done
|
||||
rm -f quickml
|
||||
sed -e 's!%RUBY%!$(RUBY)!g' \
|
Loading…
Reference in New Issue
Block a user