#35285: gimp-help-en won't upgrade - can't find libxml2 -------------------------------------+-------------------------------------- Reporter: david.w.watson@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: gimp-help-en -------------------------------------+-------------------------------------- Comment(by macosx12345@…): Replying to [comment:15 ram@…]:
Shouldn't the full path to MacPorts python be used? i.e. `/opt/local/bin/python2.7` instead of `/usr/bin/env python2.7`?
Maybe. Indeed, the present patch works only as long as the first pythonx.y in the `PATH` has the same version number as the requested variant of `gimp-help-en` and has an associated `libxml2`, which should be the most frequent case. Since `/usr/bin/env` may have some advantadges that I don't know, I left it and I leave it to some Python expert to give a better answer. On the other hand I made a mistake, depends_run.append should be depends_build.append since py-libxml2 is needed only during build — now corrected. -- Ticket URL: <https://trac.macports.org/ticket/35285#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS