I'm a novice porter trying to update the editors/micro port. I can get the port to build a modern version successfully, but version information is excluded from the binary despite the settings in the port's Makefile. I think the project is not designed for that information to be inserted by the port; it has its own Makefile that internally handles inserting version information and such (using gmake, of course). The current port Makefile has
Even if it did, though, the project's Makefile calls a Go script that relies on Git to find the version, so it wouldn't work because the port is downloading an archive of the repository, not cloning it with Git. I think there are port Makefile settings to handle this, but I can't find what they are. Hoping someone knows how to do it off the top of their head.
USES=go
and GH_TUPLE
, so I think it isn't running the project's Makefile.Even if it did, though, the project's Makefile calls a Go script that relies on Git to find the version, so it wouldn't work because the port is downloading an archive of the repository, not cloning it with Git. I think there are port Makefile settings to handle this, but I can't find what they are. Hoping someone knows how to do it off the top of their head.