freebsd-ports/net-mgmt/collectd5/files/patch-version-gen.sh
Joseph Mingrone ff55205c69 net-mgmt/collectd5: Update to version 5.7.1.
Other Changes:
  - Remove unnecessary global BUILD_DEPENDS, LIB_DEPENDS and RUN_DEPENDS.
  - Redo patches to fix portlint warnings.
  - Fix linked library errors reported by poudriere.

Remaining issue:
  - When the XMMS option is selected, xmms.so is linked to libraries in
    devel/glib12 and x11-toolkits/gtk12, but adding
    XMMS_USE=GNOME=glib12,gtk12 causes a build error.

PR:	216670
Submitted by:	ports@bsdserwis.com (maintainer)
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D9444
2017-02-09 00:44:42 +00:00

13 lines
323 B
Bash

--- version-gen.sh.orig 2017-02-03 20:46:49 UTC
+++ version-gen.sh
@@ -2,10 +2,6 @@
DEFAULT_VERSION="5.7.1.git"
-if [ -d .git ]; then
- VERSION="`git describe --dirty=+ --abbrev=7 2> /dev/null | grep collectd | sed -e 's/^collectd-//' -e 's/-/./g'`"
-fi
-
if test -z "$VERSION"; then
VERSION="$DEFAULT_VERSION"
fi