summaryrefslogtreecommitdiff
path: root/djgpp
diff options
context:
space:
mode:
authorLaszlo Molnar <laszlo.molnar@eth.ericsson.se>1998-07-08 01:47:50 +0200
committerGurusamy Sarathy <gsar@cpan.org>1998-07-08 07:36:01 +0000
commitcb9505ffa7a98874f2965c3f21c94bb493c526b7 (patch)
tree3fd3b35e5cdfe77608f1620b15b3536f5632f612 /djgpp
parent0ade19845bc827615a636e5c073d498c2244ec07 (diff)
downloadperl-cb9505ffa7a98874f2965c3f21c94bb493c526b7.tar.gz
dos-djgpp update
Message-ID: <19980707234750.A180@cdata.tvnet.hu> p4raw-id: //depot/perl@1373
Diffstat (limited to 'djgpp')
-rw-r--r--djgpp/config.over23
-rw-r--r--djgpp/djgppsed.sh6
2 files changed, 24 insertions, 5 deletions
diff --git a/djgpp/config.over b/djgpp/config.over
index ed443d31c4..b11b4936fe 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 96a6885f10..bf9d4ea7b4 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