Page 1 of 1

How to disable generation of perllocal.pod?

Posted: 2007-10-04T20:51:17-07:00
by mi
I hope, a clever option can be specified to --with-perl-options=... to disable the generation of the file. Would would it be? Thanks!

Re: How to disable generation of perllocal.pod?

Posted: 2007-10-14T14:34:40-07:00
by mi
Answering my own question... The patch below does the trick:

Code: Select all

--- Makefile.in	2007-09-21 12:36:48.000000000 -0400
+++ Makefile.in	2007-10-14 15:52:39.000000000 -0400
@@ -10372,4 +10372,4 @@
 
 @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@install-exec-perl: $(PERLMAKEFILE)
-@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@	cd $(PERLMAGICK) && $(MAKE) CC='@CC@' install
+@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@	cd $(PERLMAGICK) && $(MAKE) CC='@CC@' pure_install
 
Using "pure_install" instead of "install" target of the Makefile, that is generated from Makefile.PL...