[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

textproc/p5-XML-LibXML (was: Re: i386 package build breakage)



Christian Weisgerber:

> textproc/p5-XML-LibXSLT         can't locate XML/LibXML/Common.pm

Investigating this shows that the recent update to textproc/p5-XML-LibXML
is broken.  Some code has been factored out into a new module
XML::LibXML::Common.

Attached:
- A new port for textproc/p5-XML-LibXML-Common.
  (One of the regression tests fails.  I can't tell how serious
  this is.)
- A patch for textproc/p5-XML-LibXML so it will depend on
  p5-XML-LibXML-Common.

These changes are not sufficient to fix p5-XML-LibXSLT, but at least
a simple

$ perl -e 'require XML::LibXML;'

won't fail any longer.

-- 
Christian "naddy" Weisgerber                          naddy_(_at_)_mips_(_dot_)_inka_(_dot_)_de

Attachment: p5-XML-LibXML-Common.shar
Description: Unix shell archive

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/p5-XML-LibXML/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile	14 Jun 2003 10:02:26 -0000	1.15
+++ Makefile	18 Jun 2003 00:58:02 -0000
@@ -12,7 +12,8 @@
 MAINTAINER=	Shell Hung <shell_(_at_)_openbsd_(_dot_)_org>
 
 LIB_DEPENDS=	xml2.6::textproc/libxml
-RUN_DEPENDS=	:p5-XML-SAX-*:textproc/p5-XML-SAX
+RUN_DEPENDS=	::textproc/p5-XML-LibXML-Common \
+		:p5-XML-SAX-*:textproc/p5-XML-SAX
 BUILD_DEPENDS=	${RUN_DEPENDS}
 
 PERMIT_PACKAGE_CDROM=	Yes
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/textproc/p5-XML-LibXML/pkg/PLIST,v
retrieving revision 1.10
diff -u -r1.10 PLIST
--- pkg/PLIST	6 Jul 2002 10:21:40 -0000	1.10
+++ pkg/PLIST	18 Jun 2003 00:58:02 -0000
@@ -42,6 +42,5 @@
 man/man3p/XML::LibXML::SAX::Generator.3p
 man/man3p/XML::LibXML::SAX::Parser.3p
 man/man3p/XML::LibXML::Text.3p
-_(_at_)_dirrm ${P5ARCH}/auto/XML/LibXML
 @dirrm ${P5ARCH}/XML/LibXML/SAX
 @dirrm ${P5ARCH}/XML/LibXML