pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/net-snmp



Module Name:    pkgsrc
Committed By:   otis
Date:           Tue Jun 16 10:06:05 UTC 2020

Modified Files:
        pkgsrc/net/net-snmp: Makefile

Log Message:
net-snmp: Add missing dependency on libpcap and fix build on SmartOS

- Pull in libpcap on platforms without system-wide one
- Adjust LDFLAGS for SunOS


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 pkgsrc/net/net-snmp/Makefile

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

Modified files:

Index: pkgsrc/net/net-snmp/Makefile
diff -u pkgsrc/net/net-snmp/Makefile:1.129 pkgsrc/net/net-snmp/Makefile:1.130
--- pkgsrc/net/net-snmp/Makefile:1.129  Fri Jun 12 02:22:07 2020
+++ pkgsrc/net/net-snmp/Makefile        Tue Jun 16 10:06:04 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.129 2020/06/12 02:22:07 sevan Exp $
+# $NetBSD: Makefile,v 1.130 2020/06/16 10:06:04 otis Exp $
 
 .include "Makefile.common"
 CATEGORIES=    net
@@ -32,6 +32,8 @@ CFLAGS+=              -Dnetbsd1
 CFLAGS+=               -DSOL_IP=IPPROTO_IP
 .endif
 
+LDFLAGS.SunOS+=                -lkvm
+
 .if (${OPSYS} == "NetBSD") || !exists(/usr/bin/lpstat)
 CONFIGURE_ENV+=                ac_cv_path_LPSTAT_PATH=no
 .endif
@@ -137,5 +139,6 @@ post-install:
        ${INSTALL_DATA} ${WRKSRC}/agent/snmp_perl.pl \
                ${DESTDIR}${PREFIX}/share/snmp/
 
+.include "../../net/libpcap/buildlink3.mk"
 .include "../../security/tcp_wrappers/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index