From owner-freebsd-perl@FreeBSD.ORG Sat Jan 21 04:15:33 2006 Return-Path: X-Original-To: perl@freebsd.org Delivered-To: freebsd-perl@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59E2416A41F for ; Sat, 21 Jan 2006 04:15:33 +0000 (GMT) (envelope-from leeym@utopia.leeym.com) Received: from msr14.hinet.net (msr14.hinet.net [168.95.4.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 770E443D46 for ; Sat, 21 Jan 2006 04:15:32 +0000 (GMT) (envelope-from leeym@utopia.leeym.com) Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52]) by msr14.hinet.net (8.9.3/8.9.3) with ESMTP id MAA23566; Sat, 21 Jan 2006 12:15:31 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by utopia.leeym.com (Postfix) with ESMTP id 4E9CAB29D3D; Sat, 21 Jan 2006 12:15:30 +0800 (CST) Received: from utopia.leeym.com ([127.0.0.1]) by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 49630-09; Sat, 21 Jan 2006 12:15:25 +0800 (CST) Received: by utopia.leeym.com (Postfix, from userid 1000) id 9A00DB29CF6; Sat, 21 Jan 2006 12:15:25 +0800 (CST) Date: Sat, 21 Jan 2006 12:15:25 +0800 From: Yen-Ming Lee To: Rong-En Fan Message-ID: <20060121041525.GA53962@utopia.leeym.com> References: <20060120083007.GA44902@svm.csie.ntu.edu.tw> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+g7M9IMkV8truYOl" Content-Disposition: inline In-Reply-To: <20060120083007.GA44902@svm.csie.ntu.edu.tw> User-Agent: Mutt/1.5.11 X-Virus-Scanned: by amavisd-new at leeym.com Cc: perl@freebsd.org Subject: Re: p5-Encode and perl X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Jan 2006 04:15:33 -0000 --+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 -.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 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--