[MacPorts] #41476: vigra: "vigra-config --docdir" shows a path in the build directory
#41476: vigra: "vigra-config --docdir" shows a path in the build directory --------------------------+------------------------------- Reporter: ryandesign@… | Owner: benjamin.seppke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: vigra --------------------------+------------------------------- `vigra-config --docdir` shows a path in the build directory (which has most likely been deleted by the time the port has been installed): {{{ $ port installed vigra The following ports are currently installed: vigra @1.10.0_0+python27+universal (active) $ vigra-config --docdir /opt/local/var/macports/build/_Users_rschmidt_macports_dports_graphics_vigra/vigra/work/vigra-1-10-0/doc $ ls $(vigra-config --docdir) ls: /opt/local/var/macports/build/_Users_rschmidt_macports_dports_graphics_vigra/vigra/work/vigra-1-10-0/doc: No such file or directory }}} -- Ticket URL: <https://trac.macports.org/ticket/41476> MacPorts <http://www.macports.org/> Ports system for OS X
#41476: vigra: "vigra-config --docdir" shows a path in the build directory ---------------------------+------------------------------- Reporter: ryandesign@… | Owner: benjamin.seppke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: vigra | ---------------------------+------------------------------- Comment (by benjamin.seppke@…): Okay, this error must have been there for some (longer) time already. The reason for this is that the vigra-config script is generated during CMake's configure step. Inside the config/vigra-config.in file @DOCDIR@ is the variable, which will be replaced by CMake with the wrong directory. However, this misbehaviour can be patched quite easy, as you may see in the Portfile.diff, which I appended to this topic. -- Ticket URL: <https://trac.macports.org/ticket/41476#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts