pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Can't compile p5-perl-headers!



> On 7/11/06, simonjonsson%bredband.net@localhost 
> <simonjonsson%bredband.net@localhost> wrote:
 >> Hello!
 >>
 >> I get the following error message when I try to compile 
 >> devel/p5-perl-headers:
 >>
 >> ===> Building for p5-perl-headers-3.0nb3
 >> /bin/mkdir -p /usr/pkgsrc/devel/p5-perl-headers/work/h2ph
 >> /bin/rm -f /usr/pkgsrc/devel/p5-perl-headers/work/h2ph_log 
 >> /usr/pkgsrc/devel/p5-perl-headers/work/packlist
 >> ( cd "/usr/include" && /usr/pkg/bin/h2ph -d 
 >> /usr/pkgsrc/devel/p5-perl-headers/work/h2ph -r -l . ) > 
 >> /usr/pkgsrc/devel/p5-perl-headers/work/h2ph_log
 >> /usr/pkg/bin/h2ph: not found

> h2ph is part of perl5 package:

Shouldn't the following patch be applied to both HEAD and 2006Q2?

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/p5-perl-headers/Makefile,v
retrieving revision 1.28
diff -u -r1.28 Makefile
--- Makefile    17 Jun 2006 20:52:07 -0000      1.28
+++ Makefile    2 Sep 2006 12:14:47 -0000
@@ -12,6 +12,8 @@
 HOMEPAGE=              http://language.perl.com/index.html
 COMMENT=               Perl header files
 
+BUILD_DEPENDS+=                perl5-[0-9]*:../../lang/perl5
+
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
 WRKSRC=                        ${WRKDIR}
-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index