add spec dependency
[ikiwiki] / doc / bugs / __91__PATCH__93___Use_correct_perl_when_running_make.html
1 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.
2
3 [[done]], thanks
4
5 <pre>
6 --- Makefile.PL.orig    2008-06-02 10:33:41.000000000 -0500
7 +++ Makefile.PL 2008-06-02 10:34:00.000000000 -0500
8 @@ -31,7 +31,7 @@
9         chmod +x ikiwiki.out
10
11  extra_build: ikiwiki.out
12 -       perl -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -setup docwiki.setup -refresh
13 +       $(PERL) -Iblib/lib $(extramodules) $(tflag) ikiwiki.out -libdir . -setup docwiki.setup -refresh
14         ./mdwn2man ikiwiki 1 doc/usage.mdwn > ikiwiki.man
15         ./mdwn2man ikiwiki-mass-rebuild 8 doc/ikiwiki-mass-rebuild.mdwn > ikiwiki-mass-rebuild.man
16         ./mdwn2man ikiwiki-makerepo 1 doc/ikiwiki-makerepo.mdwn > ikiwiki-makerepo.man
17 </pre>