Date: Fri, 28 Mar 2003 09:48:55 +0100 From: Erwin Lansing <erwin@lansing.dk> To: Anton Berezin <tobez@tobez.org> Cc: Kris Kennaway <kris@obsecurity.org> Subject: Re: Knob for perllocal.pod Message-ID: <20030328084855.GC73737@droso.net> In-Reply-To: <20030305193956.GA8460@heechee.tobez.org> References: <7mel62bjqv.wl@black.imgsrc.co.jp> <20030221022238.GA8145@rot13.obsecurity.org> <20030305193956.GA8460@heechee.tobez.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030328084855.GC73737>