Hello Peter, thanks a lot for the patch, there are a number of useful things in there (like the catfile vs catdir calls), but it is not the solution to my question.
Essentially what you are doing is replacing Unix-centric hackery with VMS-centric hackery, as the patched Makefile.PL will not work on non-VMS systems. Also the assumption that you can not run make while Makefile.PL is executing is not correct. As long as you do have a descrip.mms file (even if it is empty) before invoking the test in Makefile.PL it does work fine. I suppose my mail has not been clear. If I just wanted to get this somehow working for me I'd been done already for a while ;-) What I want to do is put a patch together that will work on both Unix and VMS without hardcoding stuff in Net::DNS that MakeMaker obviously knows about ;-) Greetings, Martin > From: IN%"[EMAIL PROTECTED]" "Peter Prymmer" 18-MAY-2006 21:12:01.60 > Subj: RE: Make/Makefile name to use in Makefile.PL > > --Boundary_(ID_WpaOBlN88kZNo1qpMQsv9Q) > Content-type: text/plain > > "Dr. Martin P.J. Zinser" <[EMAIL PROTECTED]> wrote on > 05/18/2006 02:44:24 PM: > > > I am trying to port Net::DNS (0.57) to VMS. Unfortunatly the Makefile.PL > > > does contain some pretty Unix-centric hackery, part of it involving > > calling make as part of Makefile.PL. To make this "portable" I need the > > name of the platform specific makefile as known to MakeMaker. Can you > > advise on where to look for this? "Make" can be found in $Config, but > > I have not found "Makefile" in there... > > The name 'descrip.mms' is buried in ExtUtils::MakeMaker::MM_VMS.pm > and is not queryable directly. > > To get Net::DNS 0.57 working on VMS we did not use the descrip.mms > name but found that we had to modify 5 of the source files: > > DNS.xs > Makefile.PL > netdns.h > t/00-pod.t > t/00-version.t > > as follows: > > > > I hope that helps. > > Peter Prymmer > > --Boundary_(ID_WpaOBlN88kZNo1qpMQsv9Q) > Content-type: application/octet-stream; name=net-dns.patch > Content-disposition: attachment > Content-transfer-encoding: BASE64 > > LS0tIG5ldC1kbnMtMF81Ny9kbnMueHMJMjAwNi8wNS8wNCAxMjo1NDoxNA0KKysr > IG5ldC1kbnMtMF81Ny9ETlMueHMJMjAwNi8wNS8wNCAxMzoyNDozMA0KQEAgLTY5 > LDcgKzY5LDcgQEANCiAJDQogCUVYVE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QkNCi1maW5kKCBzdWIgeyBwdXNoKEBmaWxl > cywgJEZpbGU6OkZpbmQ6Om5hbWUpIGlmIC9cLnBtJC99LCAkYmxpYik7DQorbXkg > JGJsaWIgPSBGaWxlOjpTcGVjLT5jYXRkaXIocXcoYmxpYiBsaWIpKTsNCisNCitm > aW5kKCBzdWIgeyBwdXNoIEBmaWxlcywgRmlsZTo6U3BlYy0+Y2F0ZmlsZShGaWxl > OjpTcGVjLT5zcGxpdGRpcigkRmlsZTo6RmluZDo6ZGlyKSwkXykgaWYgL1wucG0k > L30sICRibGliKTsNCiANCiBteSAkY2FuID0gZXZhbCB7IE1NLT5jYW4oJ3BhcnNl > X3ZlcnNpb24nKSB9Ow0KDQpFbmQgb2YgUGF0Y2guIA0K > > --Boundary_(ID_WpaOBlN88kZNo1qpMQsv9Q)-- Dr. Martin P.J. Zinser [EMAIL PROTECTED] Deutsche Boerse Systems Inc. 233 South Wacker Drive Tel: +1-312-544-1027 Suite 2455 FAX: +1-312-544-1301 Chicago, IL, 60606 USA Private: [EMAIL PROTECTED]