fixing SDBM_File problems under win32
authorNikola Knezevic <indy@tesla.rcub.bg.ac.yu>
Tue, 14 Aug 2001 22:30:11 +0000 (00:30 +0200)
committerJarkko Hietaniemi <jhi@iki.fi>
Wed, 15 Aug 2001 03:15:25 +0000 (03:15 +0000)
Message-ID: <4224685483.20010814223011@tesla.rcub.bg.ac.yu>

Combination of nmake, quoting, and Perl expanded $( in here-doc.

p4raw-id: //depot/perl@11672

ext/SDBM_File/Makefile.PL

index 132bdad..0e26609 100644 (file)
@@ -24,7 +24,7 @@ sub MY::postamble {
   if ($^O =~ /MSWin32/ && Win32::IsWin95()) {
        if ($Config{'make'} =~ /dmake/i) {
            # dmake-specific
-           return <<EOT;
+           return <<'EOT';\r
 $(MYEXTLIB): sdbm/Makefile
 @[
        cd sdbm
@@ -34,7 +34,7 @@ $(MYEXTLIB): sdbm/Makefile
 EOT
        } elsif ($Config{'make'} =~ /nmake/i) {
            #
-           return <<EOT;
+           return <<'EOT';\r
 $(MYEXTLIB): sdbm/Makefile
        cd sdbm
        $(MAKE) all