From: Hans Mulder <hansmu@xs4all.nl>
Date: Mon, 13 Jul 1998 12:30:05 +0000 (-0700)
Subject: Add Data::Dumper and re modules to VMS config stuff
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5facb94fc3aca6b0a900528e9715341d7319cc4a;p=p5sagit%2Fp5-mst-13.2.git

Add Data::Dumper and re modules to VMS config stuff

	Message-Id: <3.0.5.32.19980713123005.00b6be50@ous.edu>

p4raw-id: //depot/perl@1471
---

diff --git a/configure.com b/configure.com
index bdbf2cd..64ad730 100644
--- a/configure.com
+++ b/configure.com
@@ -1786,7 +1786,7 @@ $ echo "you might, for example, want to build GDBM_File instead of
 $ echo "SDBM_File if you have the GDBM library built on your machine
 $ echo "
 $ echo "Which modules do you want to build into perl?"
-$ dflt = "Fcntl Errno IO Opcode attrs Stdio DCLsym B SDBM_File"
+$ dflt = "Fcntl Errno IO Opcode Dumper attrs re Stdio DCLsym B SDBM_File"
 $ if Using_Dec_C.eqs."Yes"
 $ THEN
 $   dflt = dflt + " POSIX"
diff --git a/vms/descrip_mms.template b/vms/descrip_mms.template
index 5ad742f..95c4def 100644
--- a/vms/descrip_mms.template
+++ b/vms/descrip_mms.template
@@ -590,6 +590,44 @@ POSIX : [.lib]POSIX.pm [.lib.auto.POSIX]POSIX$(E)
 [.ext.POSIX]Descrip.MMS : [.ext.POSIX]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
 	$(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.POSIX]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
 
+Dumper : [.lib.data]dumper.pm [.lib.auto.data.dumper]dumper$(E)
+	@ $(NOOP)
+
+[.lib.data]dumper.pm : [.ext.data.dumper]Descrip.MMS
+	@ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
+	@ Set Default [.ext.data.dumper]
+	$(MMS)
+	@ Set Default [---]
+
+[.lib.auto.data.dumper]dumper$(E) : [.ext.data.dumper]Descrip.MMS
+	@ Set Default [.ext.data.dumper]
+	$(MMS)
+	@ Set Default [---]
+
+# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
+# ${@} necessary to distract different versions of MM[SK]/make
+[.ext.data.dumper]Descrip.MMS : [.ext.data.dumper]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
+	$(MINIPERL) "-I[---.lib]" -e "chdir('[.ext.data.dumper]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[---.lib]" "INST_ARCHLIB=[---.lib]"
+
+re : [.lib]re.pm [.lib.auto.re]re$(E)
+	@ $(NOOP)
+
+[.lib]re.pm : [.ext.re]Descrip.MMS
+	@ If F$Search("[.lib]auto.dir").eqs."" Then Create/Directory [.lib.auto]
+	@ Set Default [.ext.re]
+	$(MMS)
+	@ Set Default [--]
+
+[.lib.auto.re]re$(E) : [.ext.re]Descrip.MMS
+	@ Set Default [.ext.re]
+	$(MMS)
+	@ Set Default [--]
+
+# Add "-I[--.lib]" t $(MINIPERL) so we use this copy of lib after C<chdir>
+# ${@} necessary to distract different versions of MM[SK]/make
+[.ext.re]Descrip.MMS : [.ext.re]Makefile.PL $(LIBPREREQ) $(DBG)perlshr$(E)
+	$(MINIPERL) "-I[--.lib]" -e "chdir('[.ext.re]') or die $!; do 'Makefile.PL'; print ${@} if ${@};" "INST_LIB=[--.lib]" "INST_ARCHLIB=[--.lib]"
+
 THREAD : [.lib]THREAD.pm [.lib.auto.THREAD]THREAD$(E)
 	@ $(NOOP)
 
@@ -1471,6 +1509,9 @@ clean : tidy
 	- $(MMS) clean
 	Set Default [--]
 .endif
+    Set Default [.ext.re]
+    - $(MMS) clean
+    Set Default [--]
 	Set Default [.ext.SDBM_File]
 	- $(MMS) clean
 	Set Default [--]
@@ -1531,6 +1572,9 @@ realclean : clean
 	- $(MMS) realclean
 	Set Default [--]
 .endif
+	Set Default [.ext.re]
+	- $(MMS) realclean
+	Set Default [--]
 	Set Default [.ext.SDBM_File]
 	- $(MMS) realclean
 	Set Default [--]