#29093: changing $worksrcdir break the build when using git.fetch or hg.fetch --------------------------------------+------------------------------------- Reporter: ciserlohn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.2 Keywords: | Port: --------------------------------------+------------------------------------- git/hg fetch the source code directly into $worksrcpath. If your port need to change the $worksrcdir (e.g. the source to be built is in a subdirectory) the build fails because $worksrcpath is defined as $workpath/$worksrcdir and the source is now in the wrong directory. See the attached portfile for an example that demostrates this behavior. The suggested patch uses $workpath/$distname as the location for git/hg fetch. -- Ticket URL: <https://trac.macports.org/ticket/29093> MacPorts <http://www.macports.org/> Ports system for Mac OS