Subject: pkg/29156: dependency of textproc/ruby-rexml is broken
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <obata@lins.jp>
List: pkgsrc-bugs
Date: 01/30/2005 04:45:00
>Number:         29156
>Category:       pkg
>Synopsis:       dependency of textproc/ruby-rexml is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 30 04:45:00 +0000 2005
>Originator:     OBATA Akio
>Release:        NetBSD 2.0
>Organization:
	LINS
>Environment:
System: NetBSD miki.lins.jp 2.0 NetBSD 2.0 (MIKI) #2: Sat Dec 11 11:57:34 JST 2004 obata@miki:/usr/src/sys/arch/i386/compile/MIKI i386
Architecture: i386
Machine: i386
>Description:
	DEPENDS in Makefile is broken, so can't resolv dependency
	(missing '{' and version number).
>How-To-Repeat:
	make it
>Fix:
	here is patch:
--- textproc/ruby-rexml/Makefile        5 Dec 2004 15:21:06 -0000       1.5
+++ textproc/ruby-rexml/Makefile        30 Jan 2005 04:36:42 -0000
@@ -20,7 +20,7 @@
 RUBY_ICONV_DIR=        ../../converters/ruby-iconv
 .endif
   
-DEPENDS+= ${RUBY_PKGPREFIX}-iconv,${RUBY_PKGPREFIX}-uconv}:${RUBY_ICONV_DIR}
+DEPENDS+= {${RUBY_PKGPREFIX}-iconv-[0-9]*,${RUBY_PKGPREFIX}-uconv-[0-9]*}:${RUBY_ICONV_DIR}

 VERSION=               3.1.2
 USE_RUBY_INSTALL=      yes