grep .pm /usr/ports/net/mrtg/pkg-plist \ /usr/ports/net/p5-SNMP_Session/pkg-plist | sed -e 's#/usr/ports/net/##' yields: mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/BER.pm mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/MRTG_lib.pm mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/Pod/InputObjects.pm mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/Pod/Parser.pm mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/Pod/PlainText.pm mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/Pod/Select.pm mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/Pod/Usage.pm mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/SNMP_Session.pm mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/SNMP_util.pm mrtg/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/locales_mrtg.pm p5-SNMP_Session/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/BER.pm p5-SNMP_Session/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/SNMP_Session.pm p5-SNMP_Session/pkg-plist:lib/perl5/site_perl/%%PERL_VER%%/SNMP_util.pm And cd /tmp tar -zxf /usr/ports/distfiles/mrtg-2.9.25.tar.gz tar -zxf /usr/ports/distfiles/SNMP_Session-0.94.tar.gz find . -name SNMP_Session.pm | xargs diff -u | egrep '\+\+\+|---|VERSION' --- ./mrtg-2.9.25/lib/mrtg2/SNMP_Session.pm Sat Oct 19 11:06:55 2002 +++ ./SNMP_Session-0.94/lib/SNMP_Session.pm Thu Oct 24 22:26:55 2002 -$VERSION = '0.93'; +$VERSION = '0.94'; find . -name SNMP_util.pm | xargs diff -u | egrep '\+\+\+|---|VERSION' --- ./mrtg-2.9.25/lib/mrtg2/SNMP_util.pm Sat Oct 19 11:06:55 2002 +++ ./SNMP_Session-0.94/lib/SNMP_util.pm Thu Oct 24 10:51:24 2002 -$VERSION = '0.93'; +$VERSION = '0.92'; find . -name BER.pm | xargs diff -u | egrep '\+\+\+|---|VERSION' --- ./mrtg-2.9.25/lib/mrtg2/BER.pm Sat Oct 19 11:06:55 2002 +++ ./SNMP_Session-0.94/lib/BER.pm Sun Oct 27 18:29:36 2002 use vars qw(@ISA @EXPORT $VERSION $pretty_print_timeticks $errmsg); -$VERSION = '0.88'; +$VERSION = '0.94'; Fix: - upgrade p5-SNMP_Session to 0.95, it is the newest version grep ^\$VERSION /tmp/SNMP_Session-0.95/lib/*.pm SNMP_Session-0.95/lib/BER.pm:$VERSION = '0.95'; SNMP_Session-0.95/lib/SNMP_Session.pm:$VERSION = '0.95'; SNMP_Session-0.95/lib/SNMP_util.pm:$VERSION = '0.94'; - List it as a RUN_DEPENDS for net/mrtg - Omit installation of all double perl modules listed in net/p5-SNMP_Session for net/mrtg (BER.pm SNMP_Session.pm SNMP_util.pm are best ${RM} from mrtg's ${WRKSRC} at do-install: time ) How-To-Repeat: Install both packages
Ruben van Staveren wrote: > - List it as a RUN_DEPENDS for net/mrtg > - Omit installation of all double perl modules listed in > net/p5-SNMP_Session for net/mrtg (BER.pm SNMP_Session.pm > SNMP_util.pm are best ${RM} from mrtg's ${WRKSRC} at do-install: > time ) Quite true. net/smokeping (by the same author) also suffers from this, and is here fixed by doing: --cut-- do-build: @${RM} ${WRKSRC}/lib/BER.pm @${RM} ${WRKSRC}/lib/SNMP_*.pm --cut-- /Lars
Responsible Changed From-To: freebsd-ports-bugs->demon-ports-bugs Working on it.
Responsible Changed From-To: demon-ports-bugs->demon Oops...
State Changed From-To: open->closed Fixed. Thanks for your submission!