How to disable generation of perllocal.pod?

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
mi
Posts: 123
Joined: 2005-01-25T14:14:43-07:00
Contact:

How to disable generation of perllocal.pod?

Post 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!
User avatar
mi
Posts: 123
Joined: 2005-01-25T14:14:43-07:00
Contact:

Re: How to disable generation of perllocal.pod?

Post 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...
Post Reply