|
|
|
|
|
|
| Author |
Message |
John E. Malmberg *nix forums Guru Wannabe
Joined: 30 May 2005
Posts: 264
|
Posted: Mon Sep 05, 2005 11:06 pm Post subject:
[patch@makemaker_6.30_01] VMS fixes FIRST_MAKEFILE, PL_FILES
|
|
|
These are the patches needed for the tests FIRST_MAKEFILE.t and
PL_FILES.t to pass on VMS.
There are also two typo fixes in MM_Unix.pm and MM_VMS.pm that are
already in blead@25354 but not in the 6.30_01 tarball.
In lib/ExtUtils/MM_Unix.pm, $^X is a complete specification on VMS, and
adding $Config{exe_ext} to it will always produce the wrong file name.
The VMS version of the Perl test harness runs with Perl having the name
"Perl.". This bug has not caused tests to fail because find_perl was
able to find another copy of Perl in it's search.
Because directories can not be combined in VMS the way they can be on
UNIX macros need to be expanded/eliminated in sub process_PL().
In lib/ExtUtils/MM_VMS.pm, setup the $self->{MAKEFILE} to default to the
FIRST_MAKEFILE parameter if present, else to 'descrip.mms'.
'$(FIRST_MAKEFILE)_OLD' needs to have it's macros expanded/eliminated so
that it is parsed correctly on VMS before it is stored in
$self->{MAKEFILE_OLD}
Then, if the filenames did not already contain a '.' to delimit a file
type from the filename, then VMS needs a tailing "." to indicate that
there is a blank type instead of the default ".MMS" in this case.
In t/FIRST_MAKEFILE.t, for using a makefile name with out an ".type" on
VMS, a trailing dot is generated as above, so the test needs to be
modified to not fail when a trailing dot has been added to the filename.
I still need to come up with a solution to an issue with t/basic.t.
This test fails on VMS if the logical name "BIN" is defined and the DECC
feature DECC$UNIX_PATH_BEFORE_LOGNAME is not not also enabled.
The test t/basic.t will also fail on VMS if the logical name "foo" is
defined before it runs. One of the other test scripts will leave this
logical name behind if it is run with out using the test harness.
-John
wb8tyw@qsl.net
Personal Opinion Only |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 5:01 am | All times are GMT
|
|
McDonalds | Cheap Loan | Debt Consolidation | Online MBA Degree | eBay
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|