From: Nicholas Clark Date: Sun, 20 Sep 2009 13:43:16 +0000 (+0100) Subject: The pod convertors chdir post BEGIN-time, so don't need an absolute path for lib. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9ba38f625c0ac7c12d548b20a8aef410f2f2db67;p=p5sagit%2Fp5-mst-13.2.git The pod convertors chdir post BEGIN-time, so don't need an absolute path for lib. In fact, I don't see why they need to chdir at all. Or still need most of the self-extraction logic, now that we have MakeMaker. (Yes, the code is *that* old.) --- diff --git a/Makefile.SH b/Makefile.SH index 477610a..8fd6a28 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -962,7 +962,7 @@ lib/re.pm: ext/re/re.pm $(plextract): miniperl$(EXE_EXT) $(CONFIGPM) x2p/s2p $(dynamic_ext) @-rm -f $@ - $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -I"`pwd`/lib" $@.PL + $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib $@.PL x2p/s2p: miniperl$(EXE_EXT) $(CONFIGPM) $(dynamic_ext) x2p/s2p.PL cd x2p; $(LDLIBPTH) $(MAKE) s2p