pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/beats beats: Don't use "go build -i", it over...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ebed099ec21
branches:  trunk
changeset: 314489:4ebed099ec21
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Oct 29 13:27:25 2018 +0000

description:
beats: Don't use "go build -i", it overwrites system files!

Users who have previously installed this package by building as root should
very carefully check their Go installations.  Running "pkg_admin check" will
almost certainly fail.

diffstat:

 sysutils/beats/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 49167329796f -r 4ebed099ec21 sysutils/beats/Makefile
--- a/sysutils/beats/Makefile   Mon Oct 29 11:54:24 2018 +0000
+++ b/sysutils/beats/Makefile   Mon Oct 29 13:27:25 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2018/10/19 16:49:58 jperkin Exp $
+# $NetBSD: Makefile,v 1.32 2018/10/29 13:27:25 jperkin Exp $
 
 DISTNAME=              beats-6.2.4
 PKGREVISION=           1
@@ -54,6 +54,10 @@
 
 MAKE_ENV+=             GOPATH=${WRKDIR}:${PREFIX}/gopkg
 MAKE_ENV+=             CGO_LDFLAGS="-L${BUILDLINK_PREFIX.libpcap}/lib ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libpcap}/lib"
+
+# The build system defaults to -i which modifies system files!
+MAKE_ENV+=             GOBUILD_FLAGS=
+
 BUILD_TARGET=          #
 
 INSTALLATION_DIRS+=    bin share/examples/beats



Home | Main Index | Thread Index | Old Index