summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2004-12-04 15:04:53 +0000
committertaca <taca@pkgsrc.org>2004-12-04 15:04:53 +0000
commitaa4693499d8078684bd009077ad7527b96ecd769 (patch)
treed94e87753c9198a1b5e5de02afc5b01131d8d3ca /textproc
parent4a76ff1004471f1c843b8e8df0e30a374dee5c88 (diff)
downloadpkgsrc-aa4693499d8078684bd009077ad7527b96ecd769.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')
-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