Date: Wed, 2 Feb 2005 16:12:14 +0100 (CET) From: Angelo Turetta <aturetta@commit.it> To: FreeBSD-gnats-submit@FreeBSD.org Cc: aturetta@commit.it Subject: ports/77010: [patch] conflict between p5-XML-SAX and p5-XML-SAX-Base Message-ID: <200502021512.j12FCEAK057749@dev.lan.bestunion.it> Resent-Message-ID: <200502021530.j12FUEWo086191@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 77010 >Category: ports >Synopsis: [patch] conflict between p5-XML-SAX and p5-XML-SAX-Base >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 02 15:30:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Angelo Turetta >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD dev.lan.bestunion.it 5.3-STABLE FreeBSD 5.3-STABLE #5: Fri Nov 19 18:47:38 CET 2004 aturetta@dev.lan.bestunion.it:/usr/obj/usr/src/sys/GENERIC i386 >Description: textproc/p5-XML-SAX-Base installs files with names conflicting with those installed by textproc/p5-XML-SAX. As a side effect, if you have textproc/p5-XML-SAX installed and you install net/p5-perl-ldap (which depends on p5-XML-SAX-Base by checking a file which is in conflict) you break your dependency database. >How-To-Repeat: portupgrade -N p5-XML-SAX portupgrade -N p5-perl-ldap portversion -v >Fix: --- patch-xml-sax-conflicts begins here --- Index: textproc/p5-XML-SAX/Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/p5-XML-SAX/Makefile,v retrieving revision 1.7 diff -u -r1.7 Makefile --- textproc/p5-XML-SAX/Makefile 12 Aug 2004 12:48:00 -0000 1.7 +++ textproc/p5-XML-SAX/Makefile 2 Feb 2005 14:46:26 -0000 @@ -15,6 +15,8 @@ MAINTAINER= skv@FreeBSD.org COMMENT= Simple API for XML +CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-Base-* + RUN_DEPENDS= ${SITE_PERL}/XML/NamespaceSupport.pm:${PORTSDIR}/textproc/p5-XML-NamespaceSupport BUILD_DEPENDS= ${RUN_DEPENDS} Index: textproc/p5-XML-SAX-Base/Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/p5-XML-SAX-Base/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- textproc/p5-XML-SAX-Base/Makefile 20 Jan 2005 14:28:05 -0000 1.4 +++ textproc/p5-XML-SAX-Base/Makefile 2 Feb 2005 14:51:20 -0000 @@ -17,6 +17,8 @@ MAINTAINER= svenasse@polaris.ca COMMENT= Base class SAX Drivers and Filters +CONFLICTS= ${PKGNAMEPREFIX}XML-SAX-[0-9]* + PERL_CONFIGURE= yes MAN3= XML::SAX::Exception.3 \ Index: net/p5-perl-ldap/Makefile =================================================================== RCS file: /home/ncvs/ports/net/p5-perl-ldap/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- net/p5-perl-ldap/Makefile 30 Jul 2004 15:08:25 -0000 1.11 +++ net/p5-perl-ldap/Makefile 2 Feb 2005 14:34:10 -0000 @@ -21,8 +21,7 @@ BUILD_DEPENDS= ${SITE_PERL}/Convert/ASN1.pm:${PORTSDIR}/converters/p5-Convert-ASN1 \ ${SITE_PERL}/URI/ldap.pm:${PORTSDIR}/net/p5-URI \ ${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL \ - ${SITE_PERL}/Authen/SASL.pm:${PORTSDIR}/security/p5-Authen-SASL \ - ${SITE_PERL}/XML/SAX/Base.pm:${PORTSDIR}/textproc/p5-XML-SAX-Base + ${SITE_PERL}/Authen/SASL.pm:${PORTSDIR}/security/p5-Authen-SASL RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes @@ -68,5 +67,10 @@ .if ${PERL_LEVEL} < 500800 BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 .endif +.if !exists(${SITE_PERL}/${PERL_ARCH}/auto/XML/SAX/.packlist) +BUILD_DEPENDS+= ${SITE_PERL}/XML/SAX/Base.pm:${PORTSDIR}/textproc/p5-XML-SAX-Base +.else +BUILD_DEPENDS+= ${SITE_PERL}/XML/SAX/Base.pm:${PORTSDIR}/textproc/p5-XML-SAX +.endif .include <bsd.port.post.mk> --- patch-xml-sax-conflicts ends here --- --j12FCTx3057752.1107357149/dev.lan.bestunion.it-- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502021512.j12FCEAK057749>