Date: Sat, 21 Jan 2006 12:15:25 +0800 From: Yen-Ming Lee <leeym@freebsd.org> To: Rong-En Fan <rafan@infor.org> Cc: perl@freebsd.org Subject: Re: p5-Encode and perl Message-ID: <20060121041525.GA53962@utopia.leeym.com> In-Reply-To: <20060120083007.GA44902@svm.csie.ntu.edu.tw> References: <20060120083007.GA44902@svm.csie.ntu.edu.tw>
next in thread | previous in thread | raw e-mail | index | archive | help
--+g7M9IMkV8truYOl Content-Type: multipart/mixed; boundary="pf9I7BMVVzbSWLtt" Content-Disposition: inline --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=big5 Content-Disposition: inline On Fri, Jan 20, 2006 at 04:30:07PM +0800, Rong-En Fan wrote: > [Please CC'ed me, I do not subscribe this mailing] > > Hi, > > I'm maintainer of devel/p5-Encode. This port installs bin/piconv > and few other programs/manual pages, which also installed by > lang/perl*. When removing p5-Encode, it also removes these files. > Then, it makes perl's pkg-plist does not complete. (Please check > pointyhat's building log for this). > > I'm not aware if there are similar situations for perl module > port that also installs programs. Is there any good way to deal > with this? > > Thanks, > Rong-En Fan These scripts in p5-Encode are almost identical with the ones shipped with perl-5.8.7, so if I were you, I'll skip these scripts. Here comes a work around patch. -- Yen-Ming Lee [utf7:+Z05fZWYO] | KeyID:0x5EB52E51 | Taipei, Taiwan --pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=big5 Content-Disposition: attachment; filename="p5-Encode.diff" Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/p5-Encode/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- Makefile 27 Dec 2005 13:23:04 -0000 1.2 +++ Makefile 21 Jan 2006 04:11:59 -0000 @@ -17,12 +17,15 @@ PERL_CONFIGURE= yes -MAN1= piconv.1 enc2xs.1 - .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} < 500800 -IGNORE= Requires Perl 5.8.0 or above. +.if ${PERL_LEVEL} < 500703 +IGNORE= requires Perl 5.7.3 or above +.endif + +.if ${PERL_LEVEL} > 500800 +post-patch: + ${PERL} -pi -e '$$_="" if $$.>=18 && $$.<=20' ${WRKSRC}/Makefile.PL .endif .include <bsd.port.post.mk> Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/devel/p5-Encode/pkg-plist,v retrieving revision 1.2 diff -u -r1.2 pkg-plist --- pkg-plist 27 Dec 2005 13:23:04 -0000 1.2 +++ pkg-plist 21 Jan 2006 04:12:00 -0000 @@ -1,6 +1,4 @@ @comment $FreeBSD: ports/devel/p5-Encode/pkg-plist,v 1.2 2005/12/27 13:23:04 tobez Exp $ -bin/piconv -bin/enc2xs %%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/Encode.so %%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/Encode.bs %%SITE_PERL%%/%%PERL_ARCH%%/auto/Encode/Byte/Byte.so --pf9I7BMVVzbSWLtt-- --+g7M9IMkV8truYOl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iQCVAwUBQ9G1XcnMx0NetS5RAQJUQAQA2XtliQ/dTLLb41uOy3bg04bjL75Res11 9s2LeqbgrrZRHZaM1Qq3ox5VVGrsIM1KThRS65dg8u1+cS7OtNz2GGhBXIyqMVEY u794fnivJrkq5kOgmg22pDpcdEXuA2Vk+FR3FL6WagyH/eMSq9llTF1Nb3ibJHPK hwes93/VDKU= =pGVo -----END PGP SIGNATURE----- --+g7M9IMkV8truYOl--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060121041525.GA53962>