#38687: ncarg @6.1.2_1 missing ncl executable ---------------------------+----------------------- Reporter: c.brierley@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ncarg | ---------------------------+----------------------- Comment (by ryandesign@…): Has duplicate #41902. Replying to [comment:4 ryandesign@…]:
Takeshi, the first I'd do is have the port check (in a post-build block) that ncl (and perhaps some other key programs) got built, and exit with an error if not. See the cdrtools port for an example of how this can be done, though it can probably be simplified for ncarg, assuming its build location is always the same (cdrtools' varies by machine).
This still needs to be done. The port currently detects that ncl didn't get built, but in that case it merely prints a message and continues instead of exiting. The attached patch fixes this, and a few other portfile issues, including removing unnecessary lines and using `system`'s `-W` flag. -- Ticket URL: <https://trac.macports.org/ticket/38687#comment:19> MacPorts <http://www.macports.org/> Ports system for OS X