Revision: 87509 http://trac.macports.org/changeset/87509 Author: dports@macports.org Date: 2011-11-24 02:05:16 -0800 (Thu, 24 Nov 2011) Log Message: ----------- p5-xml-sax-base: * update to v1.08 * add pre-activate hook to avoid conflict with p5-xml-sax (see #24710) Modified Paths: -------------- trunk/dports/perl/p5-xml-sax-base/Portfile Modified: trunk/dports/perl/p5-xml-sax-base/Portfile =================================================================== --- trunk/dports/perl/p5-xml-sax-base/Portfile 2011-11-24 10:03:41 UTC (rev 87508) +++ trunk/dports/perl/p5-xml-sax-base/Portfile 2011-11-24 10:05:16 UTC (rev 87509) @@ -3,14 +3,23 @@ PortSystem 1.0 PortGroup perl5 1.0 -perl5.setup XML-SAX-Base 1.02 -revision 2 +perl5.setup XML-SAX-Base 1.08 maintainers nomaintainer description Base class SAX Drivers and Filters long_description ${description} platforms darwin -checksums md5 1f2171d74940ad9bc5d7256e4972813d \ - sha1 ba7def460301b818dc49db197720c8b032e7fe24 \ - rmd160 67b6de607022f9b008ecb3803f6a17c443daced5 +checksums rmd160 1ffa1558e1062aa47a229a2b5c5510ba708eea09 \ + sha256 666270318b15f88b8427e585198abbc19bc2e6ccb36dc4c0a4f2d9807330219e + +if {${perl5.major} != ""} { + pre-activate { + # XML::SAX::Exception moved to this port from p5-xml-sax + if {![catch {set vers [lindex [registry_active p${perl5.major}-xml-sax] 0]}] + && [rpm-vercomp [lindex $vers 1] 0.990] < 0} { + registry_deactivate_composite p${perl5.major}-xml-sax "" [list ports_nodepcheck 1] + } + } +} + \ No newline at end of file