pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/beats



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Oct 29 13:27:25 UTC 2018

Modified Files:
        pkgsrc/sysutils/beats: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/sysutils/beats/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/beats/Makefile
diff -u pkgsrc/sysutils/beats/Makefile:1.31 pkgsrc/sysutils/beats/Makefile:1.32
--- pkgsrc/sysutils/beats/Makefile:1.31 Fri Oct 19 16:49:58 2018
+++ pkgsrc/sysutils/beats/Makefile      Mon Oct 29 13:27:25 2018
@@ -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 @@ OWN_DIRS+=           ${BEATS_DIR} ${BEATS_LOGDIR}
 
 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