pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ruby-rdtool Change method to create RUBY_RD_L...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5f4689321aa7
branches:  trunk
changeset: 485141:5f4689321aa7
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Dec 04 16:07:01 2004 +0000

description:
Change method to create RUBY_RD_LIST as rubyversion.mk's change, avoiding
use of external command, sed(1).

diffstat:

 textproc/ruby-rdtool/rdversion.mk |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (17 lines):

diff -r ce3384f221de -r 5f4689321aa7 textproc/ruby-rdtool/rdversion.mk
--- a/textproc/ruby-rdtool/rdversion.mk Sat Dec 04 16:05:06 2004 +0000
+++ b/textproc/ruby-rdtool/rdversion.mk Sat Dec 04 16:07:01 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rdversion.mk,v 1.3 2004/12/04 15:04:53 taca Exp $
+# $NetBSD: rdversion.mk,v 1.4 2004/12/04 16:07:01 taca Exp $
 #
 
 .ifndef _RD_VERSION_MK
@@ -11,6 +11,5 @@
 RUBY_RD_REQD=          0.6.14
 
 # create string for dependency list
-RUBY_RD_LIST!= ${ECHO} ${RUBY_VERSION_LIST:S/^/ruby/g:S/$/-rdtool/} | \
-                       ${SED} -e 's| |,|g'
+RUBY_RD_LIST=  ${RUBY_VERSION_LIST:C/([1-9][0-9]*)/ruby&-rdtool/g}
 .endif



Home | Main Index | Thread Index | Old Index