[MacPorts] #32305: catdoc doesn't depend on tk
#32305: catdoc doesn't depend on tk --------------------------------------+------------------------------------- Reporter: Lars.Rasmusson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: catdoc --------------------------------------+------------------------------------- catdoc doesn't depend on tk When I tried to build it, it started pulling in tons sorts of unnecessary stuff. When I removed the runtime dependency for tk it built (and ran) without any problems. -- Ticket URL: <https://trac.macports.org/ticket/32305> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32305: catdoc doesn't depend on tk --------------------------------------+------------------------------------- Reporter: Lars.Rasmusson@… | Owner: julian@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: catdoc --------------------------------------+------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => julian@… Comment: The port says: {{{ depends_run bin:wish:tk configure.args --without-wish }}} and has done so ever since the port was added. See #5167. At first these lines seemed contradictory, but comments in #5167 suggest that `--without- wish` just disables a build-time test for `wish`, but that presumably `wish` will still be used at runtime. I think `wish` is only meant to be used by `wordview`. But the first line of /opt/local/bin/wordview is: {{{ #! no }}} and of course trying to run it results in: {{{ -bash: /opt/local/bin/wordview: no: bad interpreter: No such file or directory }}} If I fix the shebang line to read: {{{ #!/usr/bin/env wish }}} then `wordview` opens fine. So I think the tk dependency is still needed, and the shebang line needs to be fixed by the port. Note that `wish` should already exist on your system as /usr/bin/wish, so MacPorts shouldn't be trying to install the tk port anyway. If you don't have /usr/bin/wish, that would seem unusual to me, and might indicate a problem with your OS X installation. -- Ticket URL: <https://trac.macports.org/ticket/32305#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts