Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 May 2012 15:43:08 +0930
From:      Wayne Sierke <ws@au.dyndns.ws>
To:        bug-followup <bug-followup@freebsd.org>
Cc:        freebsd-ports-bugs <freebsd-ports-bugs@freebsd.org>, dhn@freebsd.org
Subject:   Re: ports/167528: [PATCH] devel/p5-Data-TreeDumper: Add required dependency p5-Class-ISA
Message-ID:  <1336025588.2391.26.camel@predator-ii.buffyverse>
In-Reply-To: <201205021434.q42EY9ZM021758@predator-ii.buffyverse>
References:  <201205021434.q42EY9ZM021758@predator-ii.buffyverse>

next in thread | previous in thread | raw e-mail | index | archive | help
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 ---





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1336025588.2391.26.camel>