ports/167528: [PATCH] devel/p5-Data-TreeDumper: Add required dependency p5-Class-ISA

Wayne Sierke ws at au.dyndns.ws
Thu May 3 06:13:27 UTC 2012


Some more info. Looks like Class::ISA was removed from perl-5.14

> >How-To-Repeat:
> Install graphics/asciio on a system with devel/p5-Class-ISA

s/with/without/

"and with perl-5.14 installed."


# pkg_info -L perl-5.12.4_4 | grep ISA
/usr/local/lib/perl5/5.12.4/perl/man/man3/Class::ISA.3.gz
/usr/local/lib/perl5/5.12.4/Class/ISA.pm
#
%pkg_info -L perl-5.14.2_2 | grep ISA
%

So probably something like the following is needed.

Note that I've only made a guess about the correctness of the PERL_LEVEL
test; I have not verified it.


--- p5-Data-TreeDumper-0.40.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/p5-Data-TreeDumper/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile    21 Jan 2012 17:37:52 -0000      1.19
+++ Makefile    3 May 2012 05:59:56 -0000
@@ -19,10 +19,17 @@
                ${SITE_PERL}/Check/ISA.pm:${PORTSDIR}/devel/p5-Check-ISA \
                ${SITE_PERL}/${PERL_ARCH}/Devel/Size.pm:${PORTSDIR}/devel/p5-Devel-Size \
                ${SITE_PERL}/Sort/Naturally.pm:${PORTSDIR}/textproc/p5-Sort-Naturally
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 501400
+BUILD_DEPENDS+=        ${SITE_PERL}/Class/ISA.pm:${PORTSDIR}/devel/p5-Class-ISA
+.endif
+
 RUN_DEPENDS:=  ${BUILD_DEPENDS}
 
 MAN3=          Data::TreeDumper.3
 
 PERL_CONFIGURE=        yes
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- p5-Data-TreeDumper-0.40.patch ends here ---





More information about the freebsd-ports-bugs mailing list