Knob for perllocal.pod
Erwin Lansing
erwin at lansing.dk
Fri Mar 28 00:48:58 PST 2003
On Wed, Mar 05, 2003 at 08:39:56PM +0100, Anton Berezin wrote:
>
> 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.
>
> Another IMO important cons is the multitude of perllocal.pod-* files in
> ${PREFIX}/lib, which is undesirable.
>
> > Thanks very much! I'll test (2) on bento as soon as I can.
>
> I would suggest the complete removal instead:
>
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
===================================================================
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$$//' Makefile
.endif
.if defined(USE_IMAKE)
@(cd ${CONFIGURE_WRKSRC}; ${SETENV} ${MAKE_ENV} ${XMKMF})
Cheers,
-erwin
--
_._ _,-'""`-._
Erwin Lansing (,-.`._,'( |\`-/| http://droso.org/
erwin at lansing.dk `-.-' \ )-`( , o o) http://fnidder.dk/
-bf- `- \`_`"'-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030328/760f8c03/attachment.bin
More information about the freebsd-ports
mailing list