pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ruby Remove use of RUBY_ENCODING_ARG. It was use...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4e9da30adb6e
branches:  trunk
changeset: 361645:4e9da30adb6e
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Apr 23 14:16:58 2017 +0000

description:
Remove use of RUBY_ENCODING_ARG.  It was used to specify "-K" option with
ruby18.

diffstat:

 lang/ruby/replace.mk |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (22 lines):

diff -r f482100beec9 -r 4e9da30adb6e lang/ruby/replace.mk
--- a/lang/ruby/replace.mk      Sun Apr 23 14:14:04 2017 +0000
+++ b/lang/ruby/replace.mk      Sun Apr 23 14:16:58 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.15 2011/11/22 15:29:10 taca Exp $
+# $NetBSD: replace.mk,v 1.16 2017/04/23 14:16:58 taca Exp $
 #
 
 .if !defined(_RUBY_REPLACE_MK)
@@ -14,12 +14,7 @@
 REPLACE_INTERPRETER+=  ${RUBY_NAME}
 
 REPLACE.${RUBY_NAME}.old=      .*ruby[0-9.]*
-
-.if empty(RUBY_ENCODING_ARG)
 REPLACE.${RUBY_NAME}.new=      ${RUBY}
-.else
-REPLACE.${RUBY_NAME}.new=      ${RUBY} ${RUBY_ENCODING_ARG}
-.endif
 REPLACE_FILES.${RUBY_NAME}=    ${REPLACE_RUBY}
 
 .endif # defined(REPLACE_RUBY)



Home | Main Index | Thread Index | Old Index