[Bug 225430] net-mgmt/prometheus: Fix build info

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 24 15:40:11 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225430

David O'Rourke <dor.bsd at xm0.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #190031|0                           |1
        is obsolete|                            |

--- Comment #2 from David O'Rourke <dor.bsd at xm0.uk> ---
Created attachment 190034
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=190034&action=edit
net-mgmt/prometheus: build info fix

How about this version?

This patch gets rid of the BuildDate, because that's tricky and it's correct
that forking to get it isn't great.

For the BuildUser, I've put it behind a `BUILD_USER?=` variable which defaults
to `${USER}`. This allows the user to specify it when they build the package if
they happen to be building as a user that differs from the upstream build user.

The Version, Revision, and Branch variables are hopefully not an issue, as
they're based on other settings within the Makefile.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list