pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/beats sysutils/beats: Provide a better hint t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5d95032a7325
branches:  trunk
changeset: 371081:5d95032a7325
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Thu Nov 02 15:30:50 2017 +0000

description:
sysutils/beats: Provide a better hint to where libpcap is. May fix
the build in some situations.

diffstat:

 sysutils/beats/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r a1cbbb74a26a -r 5d95032a7325 sysutils/beats/Makefile
--- a/sysutils/beats/Makefile   Thu Nov 02 14:26:23 2017 +0000
+++ b/sysutils/beats/Makefile   Thu Nov 02 15:30:50 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2017/10/17 11:31:36 fhajny Exp $
+# $NetBSD: Makefile,v 1.19 2017/11/02 15:30:50 fhajny Exp $
 
 DISTNAME=              beats-5.6.3
 CATEGORIES=            sysutils
@@ -47,6 +47,7 @@
 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"
 BUILD_TARGET=          #
 
 INSTALLATION_DIRS+=    bin share/examples/beats



Home | Main Index | Thread Index | Old Index