ports/51069: [PATCH] p5-XML-Twig does not correctly depend on p5-XML-Parser
Shannon -jj Behrens
jj at nttmcl.com
Wed Apr 16 21:00:31 UTC 2003
>Number: 51069
>Category: ports
>Synopsis: [PATCH] p5-XML-Twig does not correctly depend on p5-XML-Parser
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 16 14:00:29 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Shannon -jj Behrens
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
NTT MCL, INC.
>Environment:
System: FreeBSD eacsmon.nttmcl.com 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 root at freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC i386
>Description:
p5-XML-Twig depends on p5-XML-Parser using RUN_DEPENDS. However, this doesn't
cause p5-XML-Parser to be installed before p5-XML-Twig is built, which causes
the build to fail. It is necessary to use BUILD_DEPENDS instead.
>How-To-Repeat:
Try to install p5-XML-Twig from ports without having installed p5-XML-Parser
first.
>Fix:
--- Makefile.orig Wed Apr 16 11:58:26 2003
+++ Makefile Wed Apr 16 11:59:17 2003
@@ -17,8 +17,9 @@
# On Perl < 5.8.0, XML::Twig has a further optional dependency on WeakRef.
# However, WeakRef needs Perl 5.005_55.
-RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+RUN_DEPENDS= ${BUILD_DEPENDS} \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv
PERL_CONFIGURE= YES
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list