diff options
author | zi <zi@FreeBSD.org> | 2015-01-29 10:03:09 +0800 |
---|---|---|
committer | zi <zi@FreeBSD.org> | 2015-01-29 10:03:09 +0800 |
commit | 6251305f166cac85b9e94ec0cc94c29ce45ae915 (patch) | |
tree | 180187af76ca2da726326259cc6f0759899ab5eb /net-mgmt | |
parent | 680a09414a82432eff3b7f02525d9932e398be82 (diff) | |
download | freebsd-ports-gnome-6251305f166cac85b9e94ec0cc94c29ce45ae915.tar.gz freebsd-ports-gnome-6251305f166cac85b9e94ec0cc94c29ce45ae915.tar.zst freebsd-ports-gnome-6251305f166cac85b9e94ec0cc94c29ce45ae915.zip |
- Never link against libpci
- Fix build under 11
- Bump PORTREVISION
PR: 196904, 194881
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/net-snmp/Makefile | 4 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/patch-agent_mibgroup_mibII_icmp.h | 10 |
2 files changed, 13 insertions, 1 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 03332bb53718..10c123a63c66 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/Makefile @@ -3,7 +3,7 @@ PORTNAME= snmp PORTVERSION= 5.7.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt ipv6 MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= net- @@ -235,6 +235,8 @@ post-patch: @${REINPLACE_CMD} -e 's!utmp_p->ut_name!utmp_p->ut_user!' \ ${WRKSRC}/agent/mibgroup/host/hr_system.c .endif + @${REINPLACE_CMD} -E -e 's|return pci_lookup_name|disabled broken|g' \ + ${WRKSRC}/configure post-configure: @${FIND} ${WRKSRC} -name Makefile | \ diff --git a/net-mgmt/net-snmp/files/patch-agent_mibgroup_mibII_icmp.h b/net-mgmt/net-snmp/files/patch-agent_mibgroup_mibII_icmp.h new file mode 100644 index 000000000000..f967b46cc984 --- /dev/null +++ b/net-mgmt/net-snmp/files/patch-agent_mibgroup_mibII_icmp.h @@ -0,0 +1,10 @@ +--- agent/mibgroup/mibII/icmp.h.orig 2014-12-08 20:23:22 UTC ++++ agent/mibgroup/mibII/icmp.h +@@ -14,6 +14,7 @@ config_arch_require(freebsd7, mibII/ker + config_arch_require(freebsd8, mibII/kernel_sysctl) + config_arch_require(freebsd9, mibII/kernel_sysctl) + config_arch_require(freebsd10, mibII/kernel_sysctl) ++config_arch_require(freebsd11, mibII/kernel_sysctl) + config_arch_require(netbsd, mibII/kernel_netbsd) + config_arch_require(netbsdelf, mibII/kernel_netbsd) + config_arch_require(openbsd4, mibII/kernel_sysctl) |