Subject: Re: Can't compile p5-perl-headers!
To: Chavdar Ivanov <ci4ic4@gmail.com>
From: Aleksey Cheusov <cheusov@tut.by>
List: pkgsrc-users
Date: 09/02/2006 15:26:35
--=-=-=
> On 7/11/06, simonjonsson@bredband.net <simonjonsson@bredband.net> 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?
--=-=-=
Content-Disposition: attachment; filename=patch.txt
Content-Description: patch for p5-perl-headers
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.
--=-=-=--