diff --git a/doc/bugs/__91__PATCH__93___Use_correct_perl_when_running_make.html b/doc/bugs/__91__PATCH__93___Use_correct_perl_when_running_make.html new file mode 100644 index 000000000..781d29372 --- /dev/null +++ b/doc/bugs/__91__PATCH__93___Use_correct_perl_when_running_make.html @@ -0,0 +1,15 @@ +If the Perl used to run Makefile.PL is not first on the PATH, it will not be the one used when make is run. The patch below fixes this. + +
+--- Makefile.PL.orig    2008-06-02 10:33:41.000000000 -0500
++++ Makefile.PL 2008-06-02 10:34:00.000000000 -0500
+@@ -31,7 +31,7 @@
+        chmod +x ikiwiki.out
+
+ extra_build: ikiwiki.out
+-       perl -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -setup docwiki.setup -refresh
++       $(PERL) -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -setup docwiki.setup -refresh
+        ./mdwn2man ikiwiki 1 doc/usage.mdwn > ikiwiki.man
+        ./mdwn2man ikiwiki-mass-rebuild 8 doc/ikiwiki-mass-rebuild.mdwn > ikiwiki-mass-rebuild.man
+        ./mdwn2man ikiwiki-makerepo 1 doc/ikiwiki-makerepo.mdwn > ikiwiki-makerepo.man
+