Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2002 18:59:34 -0700 (PDT)
From:      Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/37302: ruby-xmlparser doesn't read encodings from p5-XML-Parser.
Message-ID:  <200204210159.g3L1xYh17254@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         37302
>Category:       ports
>Synopsis:       ruby-xmlparser doesn't read encodings from p5-XML-Parser.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 20 19:00:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Fuyuhiko Maruyama
>Release:        FreeBSD 5.0-CURRENT
>Organization:
Tokyo Institute of Technology
>Environment:
FreeBSD guns.private 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Apr 21 01:22:20 JST 2002     maruyama@guns.private:/usr/obj/usr/src/sys/GUNS  i386
>Description:
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/...
>How-To-Repeat:
install textproc/ruby-xmlparser.
Write some ruby script and XML text specifying an encoding
supported by p5-XML-Parser.
>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

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204210159.g3L1xYh17254>