- Makefile adopt the port; pet portlint; add LICENSE; use USES=go (introducing GO_ENV and GO_BUILDFLAGS); push vendor tree to 'public/vendor' (upstream change); offer MYSQL support (defined by upstream). - files/* patch-util_config.go -> patch failing 'printVersion' (undef var). Approved by: rene (mentor) Differential Revision: https://reviews.freebsd.org/D19045
12 lines
351 B
Go
12 lines
351 B
Go
--- util/config.go.orig 2019-01-31 14:41:03 UTC
|
|
+++ util/config.go
|
|
@@ -26,6 +26,8 @@
|
|
var Upgrade bool
|
|
// WebHostURL is the public route to the semaphore server
|
|
var WebHostURL *url.URL
|
|
+// FreeBSD's Semaphore Version Information (patched with REINPLACE_CMD call at the do-build stage)
|
|
+var Version = "%%PORTVERSION%%"
|
|
|
|
const (
|
|
longPos = "yes"
|
|
|