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:   fhajny
Date:           Thu Nov  2 15:30:50 UTC 2017

Modified Files:
        pkgsrc/sysutils/beats: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 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.18 pkgsrc/sysutils/beats/Makefile:1.19
--- pkgsrc/sysutils/beats/Makefile:1.18 Tue Oct 17 11:31:36 2017
+++ pkgsrc/sysutils/beats/Makefile      Thu Nov  2 15:30:50 2017
@@ -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 @@ SMF_INSTANCES+=               ${BEATS}
 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