summaryrefslogtreecommitdiff
path: root/textproc/ruby-rdtool
diff options
context:
space:
mode:
authortaca <taca>2004-12-04 15:04:53 +0000
committertaca <taca>2004-12-04 15:04:53 +0000
commita07e1db1540860d6debd81ae33ac2257b632a554 (patch)
treed94e87753c9198a1b5e5de02afc5b01131d8d3ca /textproc/ruby-rdtool
parent3d0e056bc5b7fc5a7381e87027f16780fc889861 (diff)
downloadpkgsrc-a07e1db1540860d6debd81ae33ac2257b632a554.tar.gz
Prevent using :ts variable modifire to work on NetBSD 1.6 again.
Thanks to Krister Walfridsson noted by private mail.
Diffstat (limited to 'textproc/ruby-rdtool')
-rw-r--r--textproc/ruby-rdtool/rdversion.mk11
1 files changed, 4 insertions, 7 deletions
diff --git a/textproc/ruby-rdtool/rdversion.mk b/textproc/ruby-rdtool/rdversion.mk
index 341924002de..2748a5f8199 100644
--- a/textproc/ruby-rdtool/rdversion.mk
+++ b/textproc/ruby-rdtool/rdversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: rdversion.mk,v 1.2 2004/12/01 15:32:39 taca Exp $
+# $NetBSD: rdversion.mk,v 1.3 2004/12/04 15:04:53 taca Exp $
#
.ifndef _RD_VERSION_MK
@@ -10,10 +10,7 @@ RUBY_RD= ${LOCALBASE}/bin/rd2
RUBY_RD_VERSION = 0.6.14
RUBY_RD_REQD= 0.6.14
-# create depends list
-.for f in ${RUBY_VERSION_LIST}
-_RD_NAME+= ruby${f}-rdtool
-.endfor
-RUBY_RD_LIST= ${_RD_NAME:ts,}
-
+# create string for dependency list
+RUBY_RD_LIST!= ${ECHO} ${RUBY_VERSION_LIST:S/^/ruby/g:S/$/-rdtool/} | \
+ ${SED} -e 's| |,|g'
.endif