From: Laszlo Molnar Date: Tue, 7 Jul 1998 23:47:50 +0000 (+0200) Subject: dos-djgpp update X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cb9505ffa7a98874f2965c3f21c94bb493c526b7;p=p5sagit%2Fp5-mst-13.2.git dos-djgpp update Message-ID: <19980707234750.A180@cdata.tvnet.hu> p4raw-id: //depot/perl@1373 --- diff --git a/djgpp/config.over b/djgpp/config.over index ed443d3..b11b493 100644 --- a/djgpp/config.over +++ b/djgpp/config.over @@ -1,16 +1,31 @@ ln='cp' pager='less' -# This is because of the filename conversion under DOS +# fix extension names under DOS repair() { - echo "$1" | tr '[a-z]' '[A-Z]' | sed -e 's/CNTL/cntl/'\ - -e 's/_FIL/_File/g' -e 's/PCODE/pcode/' -e 's/OCKET/ocket/'\ - -e 's/leE/le/g' -e 's/ATTRS/attrs/' -e 's/HREAD/hread/' + echo "$1" | \ + sed \ + -e 's/^b/B/'\ + -e 's=\([^a-z_]\)b=\1B='\ + -e 's/db_file/DB_File/'\ + -e 's/dynaload/DynaLoader/'\ + -e 's/errno/Errno/'\ + -e 's/fcntl/Fcntl/'\ + -e 's/gdbm_fil/GDBM_File/'\ + -e 's/io/IO/'\ + -e 's/ndbm_fil/NDBM_File/'\ + -e 's/odbm_fil/ODBM_File/'\ + -e 's/opcode/Opcode/'\ + -e 's/posix/POSIX/'\ + -e 's/sdbm_fil/SDBM_File/'\ + -e 's/socket/Socket/'\ + -e 's/thread/Thread/' } static_ext=$(repair "$static_ext") extensions=$(repair "$extensions") known_extensions=$(repair "$known_extensions") +nonxs_ext=$(repair "$nonxs_ext") # I use Dos::UseLFN in AutoSplit.pm to override this under win0.95 d_flexfnam='undef' diff --git a/djgpp/djgppsed.sh b/djgpp/djgppsed.sh index 96a6885..bf9d4ea 100644 --- a/djgpp/djgppsed.sh +++ b/djgpp/djgppsed.sh @@ -29,7 +29,7 @@ sed -e $SCONFIG -e $SGREPTMP -e $SECHOTMP -e $SDDC -e $SOUT -e 's=\.\( \./\$file sed -e $SEXISTS -e $SLIST -e $SCONFIG Makefile.SH |tr -d '\r' >s; mv -f s Makefile.SH sed -e $SEXISTS -e $SPACKLIST lib/ExtUtils/Install.pm |tr -d '\r' >s; mv -f s lib/ExtUtils/Install.pm sed -e $SEXISTS -e $SPACKLIST lib/ExtUtils/MM_Unix.pm |tr -d '\r' >s; mv -f s lib/ExtUtils/MM_Unix.pm -sed -e $SEXISTS installperl >s; mv -f s installperl +sed -e $SEXISTS -e $SPACKLIST installperl >s; mv -f s installperl sed -e $SPOD2HTML lib/Pod/Html.pm |tr -d '\r' >s; mv -f s lib/Pod/Html.pm sed -e $SCC -e $SLIST -e $SFILEC -e $SCOR -e $SDEPTMP -e $SHSED makedepend.SH |tr -d '\r' >s; mv -f s makedepend.SH sed -e $SCPP t/comp/cpp.aux |tr -d '\r' >s; mv -f s t/comp/cpp.aux @@ -42,3 +42,7 @@ sed -e $SSTAT -e $STMP2 t/op/stat.t >s; mv -f s t/op/stat.t sed -e $SLIST x2p/Makefile.SH |tr -d '\r' >s; mv -f s x2p/Makefile.SH sed -e 's=^#define.\([A-Z]\+\)_EXP.*$=#define \1_EXP djgpp_pathexp("\1")=g' config_h.SH >s; mv -f s config_h.SH sed -e 's=:^/:={^([a-z]:)?[\\\\/]}=g' lib/termcap.pl >s; mv -f s lib/termcap.pl +sed -e $SPACKLIST installman >s; mv -f s installman +sed -e $SPACKLIST lib/ExtUtils/Installed.pm >s; mv -f s lib/ExtUtils/Installed.pm +sed -e $SPACKLIST lib/ExtUtils/Packlist.pm >s; mv -f s lib/ExtUtils/Packlist.pm +sed -e $SPACKLIST lib/ExtUtils/inst >s; mv -f s lib/ExtUtils/inst