Bug 37302

Summary: ruby-xmlparser doesn't read encodings from p5-XML-Parser.
Product: Ports & Packages Reporter: Fuyuhiko Maruyama <fuyuhik8>
Component: Individual Port(s)Assignee: Akinori MUSHA <knu>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Fuyuhiko Maruyama 2002-04-21 03:00:02 UTC
textproc/ruby-xmlparser doesn't read any encodings installed
with textproc/p5-XML-Parser because of misconfiguration of
ruby-xmlparser port.

`misconfiguration' means that current port of ruby-xmlparser
don't specify the path to p5-XML-Parser's encodings
explicitly, therefore, ruby-xmlparser is configured to search
them under /usr/libdata/perl/...

Fix: 

Specify the path to perl-enc-map as CONFIGURE_ARGS like:

--- Makefile    25 Sep 2001 16:36:56 -0000      1.14
+++ Makefile    21 Apr 2002 01:37:17 -0000
@@ -30,7 +30,7 @@
 PERL_ARCHLIB=  ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}
 
 WRKSRC=                ${WRKDIR}/${PORTNAME}
-CONFIGURE_ARGS=        --with-perl-enc-map
+CONFIGURE_ARGS=        --with-perl-enc-map=${PERL_ARCHLIB}/XML/Parser/Encodings
 INSTALL_TARGET=        site-install
How-To-Repeat: install textproc/ruby-xmlparser.
Write some ruby script and XML text specifying an encoding
supported by p5-XML-Parser.
Comment 1 Patrick Li freebsd_committer freebsd_triage 2002-04-21 17:21:25 UTC
Responsible Changed
From-To: freebsd-ports->knu

Over to maintainer
Comment 2 Akinori MUSHA freebsd_committer freebsd_triage 2002-04-27 14:18:36 UTC
State Changed
From-To: open->closed

Fixed and updated to 0.6.2.  Please check out, thanks!