summaryrefslogtreecommitdiff
path: root/vms
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-26 02:23:46 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-26 02:23:46 +0000
commit8598841737770b8824e0b5a63b6989607c8687c9 (patch)
tree73bd093c019419593967d35542031cd8d4911d06 /vms
parent4cada5a34507a24d03824de3723d368ff86f0054 (diff)
downloadperl-8598841737770b8824e0b5a63b6989607c8687c9.tar.gz
VMS patches from Dan Sugalski <sugalskd@osshe.edu>
Date: Fri, 24 Jul 1998 11:38:25 -0700 Message-Id: <3.0.5.32.19980724113825.00a067b0@ous.edu> Subject: [PATCH 5.005] version number problem with VMS (Corrected) -- Date: Fri, 24 Jul 1998 12:30:36 -0700 Message-Id: <3.0.5.32.19980724123036.009f0390@ous.edu> Subject: [PATCH 5.005]Tweaks to README.vms -- Date: Sat, 25 Jul 1998 17:56:55 -0700 (PDT) Message-ID: <Pine.GSO.3.96.980725175626.15740D-100000@netserve.ous.edu> Subject: [PATCH 5.005] Final build cleanup patch p4raw-id: //depot/maint-5.005/perl@1658
Diffstat (limited to 'vms')
-rw-r--r--vms/descrip_mms.template2
-rw-r--r--vms/subconfigure.com7
2 files changed, 7 insertions, 2 deletions
diff --git a/vms/descrip_mms.template b/vms/descrip_mms.template
index 8648b94f92..f28c64ac05 100644
--- a/vms/descrip_mms.template
+++ b/vms/descrip_mms.template
@@ -56,7 +56,7 @@ ARCH = VMS_VAX
OBJVAL = $(MMS$TARGET_NAME)$(O)
.endif
-PERL_VERSION = 5_00$PATCHLEVEL$SUBVERSION
+PERL_VERSION = ~PV~
.ifdef MALLOC
MALLOC_O = ,malloc$(O)
diff --git a/vms/subconfigure.com b/vms/subconfigure.com
index 0923e21a49..d15adeb3ab 100644
--- a/vms/subconfigure.com
+++ b/vms/subconfigure.com
@@ -373,7 +373,12 @@ $ perl_arch = "''perl_arch'-thread"
$ perl_archname = "''perl_archname'-thread"
$ ENDIF
$ perl_osvers=f$edit(osvers, "TRIM")
+$ if (perl_subversion + 0).eq.0
+$ THEN
+$ LocalPerlVer = "5_" + Perl_PATCHLEVEL
+$ ELSE
$ LocalPerlVer = "5_" + Perl_PATCHLEVEL + perl_subversion
+$ ENDIF
$!
$! Some that we need to invoke the compiler for
$ OS := "open/write SOURCECHAN []temp.c"
@@ -2455,7 +2460,7 @@ $ ENDIF
$ WRITE_RESULT "Writing DESCRIP.MMS"
$!set ver
$ define/user sys$output [-]descrip.mms
-$ mcr []munchconfig [-]config.sh descrip_mms.template "''DECC_REPLACE'" "''ARCH_TYPE'" "''GNUC_REPLACE'" "''SOCKET_REPLACE'" "''THREAD_REPLACE'" "''C_Compiler_Replace'" "''MALLOC_REPLACE'" "''Thread_Live_Dangerously'"
+$ mcr []munchconfig [-]config.sh descrip_mms.template "''DECC_REPLACE'" "''ARCH_TYPE'" "''GNUC_REPLACE'" "''SOCKET_REPLACE'" "''THREAD_REPLACE'" "''C_Compiler_Replace'" "''MALLOC_REPLACE'" "''Thread_Live_Dangerously'" "PV=''LocalPerlVer'"
$! set nover
$!
$! Clean up after ourselves