Bug 37302 - ruby-xmlparser doesn't read encodings from p5-XML-Parser.
Summary: ruby-xmlparser doesn't read encodings from p5-XML-Parser.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Akinori MUSHA
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-21 03:00 UTC by Fuyuhiko Maruyama
Modified: 2002-04-27 14:18 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!