From owner-freebsd-ports@FreeBSD.ORG Fri Mar 28 00:48:57 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5363337B401 for ; Fri, 28 Mar 2003 00:48:57 -0800 (PST) Received: from mail.droso.net (koala.droso.net [193.162.142.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F08F43F85 for ; Fri, 28 Mar 2003 00:48:56 -0800 (PST) (envelope-from erwin@mail.droso.net) Received: by mail.droso.net (Postfix, from userid 1001) id 1FB8F32F19; Fri, 28 Mar 2003 09:48:55 +0100 (CET) Date: Fri, 28 Mar 2003 09:48:55 +0100 From: Erwin Lansing To: Anton Berezin Message-ID: <20030328084855.GC73737@droso.net> References: <7mel62bjqv.wl@black.imgsrc.co.jp> <20030221022238.GA8145@rot13.obsecurity.org> <20030305193956.GA8460@heechee.tobez.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline In-Reply-To: <20030305193956.GA8460@heechee.tobez.org> X-Operating-System: FreeBSD/i386 4.8-RC User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-41.8 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,PATCH_UNIFIED_DIFF, PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: Jun Kuriyama cc: freebsd-ports@FreeBSD.org cc: Kris Kennaway Subject: Re: Knob for perllocal.pod X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2003 08:48:58 -0000 --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 05, 2003 at 08:39:56PM +0100, Anton Berezin wrote: >=20 > It is supposed to be used for de-installation, but currently there is no > deinstall target anywhere. Besides, the ports collection handles > de-installation mostly fine. So it can be safely removed. >=20 > Another IMO important cons is the multitude of perllocal.pod-* files in > ${PREFIX}/lib, which is undesirable. >=20 > > Thanks very much! I'll test (2) on bento as soon as I can. >=20 > I would suggest the complete removal instead: >=20 This doesn't take all cases. E.g. mail/p5-Mail-Procmailrc also has a doc_$(INSTALLDIRS)_install target. I propose the following patch instead (appended to ports/48960 but it seems gnats ate my mail). Index: bsd.port.mk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.444 diff -u -r1.444 bsd.port.mk --- bsd.port.mk 22 Mar 2003 04:45:24 -0000 1.444 +++ bsd.port.mk 28 Mar 2003 08:20:58 -0000 @@ -2722,7 +2722,7 @@ ${SETENV} ${CONFIGURE_ENV} \ ${PERL5} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} @cd ${CONFIGURE_WRKSRC} && \ - ${REINPLACE_CMD} -e 's/perllocal.pod/&-${PORTNAME}/' Makefile + ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Make= file .endif .if defined(USE_IMAKE) @(cd ${CONFIGURE_WRKSRC}; ${SETENV} ${MAKE_ENV} ${XMKMF}) Cheers, -erwin --=20 _._ _,-'""`-._ Erwin Lansing (,-.`._,'( |\`-/| http://droso.org/ erwin@lansing.dk `-.-' \ )-`( , o o) http://fnidder.dk/ -bf- `- \`_`"'- --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+hAx2qy9aWxUlaZARAmxXAJ4uv8zWEKdFMHF7yFyLmHmFa8D04gCghURe 8HCjLjQnXzbVDj5983tD37w= =kZ5L -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE--