| Summary: | lang/nim: Build additional tools from main source tree, with patch | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Felix Hanley <felix> | ||||
| Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
| Status: | Closed Overcome By Events | ||||||
| Severity: | Affects Some People | CC: | ports, w.schwarzenfeld | ||||
| Priority: | --- | Keywords: | patch | ||||
| Version: | Latest | Flags: | ports:
maintainer-feedback-
|
||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Felix Hanley
2017-03-26 06:00:05 UTC
The reason that Nimble is a separate port is because the build process included in the Nim distribution fetches the source from git independently. I'm not sure that it's allowed to bypass the port distribution fetching process like this. Also it would require an added build dependency on git which your patch does not include. The source for nimgrep and nimsuggest are included in the Nim distribution, so it would be possible to build them with the lang/nim port, but it would be necessary to patch koch.nim in order to not build nimble. This is just the removal of the call to buildNimble at the end of buildTools I think. Bug #219381 updates nim to 0.17.0 and includes these suggested changes, except for Nimble of course which still has a separate port. Is this solved, could it be closed? |