develooper Front page | perl.tcltk | Postings from July 2018

Bypass test-for-tk.tcl?

Thread Next
Christopher Chavez
July 30, 2018 12:19
Bypass test-for-tk.tcl?
Message ID:
For the MacPorts portfiles I made for both Tcl::Tk and Tcl::pTk, I currently use a patch to remove the `$tclsh test-for-tk.tcl` usage from Makefile.PL, since it doesn't work from MacPorts (either there is no X server available to the user that MacPorts runs as, or perl somehow isn’t getting any output from tclsh): cf. <> <> <>

Would it be appropriate to add a flag for Makefile.PL to skip running test-for-tk, for uses such as MacPorts where (hopefully) any dependencies are already installed correctly. Then, all that’s needed by the portfiles are the flag, rather than a patch (which has to stay current with test-for-tk is being run).

Or, some better alternative I haven’t thought of?
Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About