Ticket #29093 (assigned defect)
changing $worksrcdir break the build when using git.fetch or hg.fetch
|Reported by:||ciserlohn@…||Owned by:||ryandesign@…|
|Keywords:||haspatch||Cc:||raimue@…, tvb377@…, egall@…|
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.
- Cc ryandesign@… removed
- Owner changed from macports-tickets@… to ryandesign@…
- Status changed from new to assigned