From f5eea0f5f2dc435ce4d167757f5fe579fccc5702 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Fri, 13 Jan 2006 02:09:15 +0000 Subject: [PATCH] Unbreak the AMD64 build by forgoing the 'snmp_hostres' functionality. Approved by: harti --- usr.sbin/bsnmpd/modules/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/usr.sbin/bsnmpd/modules/Makefile b/usr.sbin/bsnmpd/modules/Makefile index faa565035899..17a2fc28517f 100644 --- a/usr.sbin/bsnmpd/modules/Makefile +++ b/usr.sbin/bsnmpd/modules/Makefile @@ -7,7 +7,7 @@ _snmp_atm= snmp_atm .endif SUBDIR= ${_snmp_atm} \ - snmp_hostres \ + ${_snmp_hostres} \ snmp_mibII \ snmp_netgraph \ snmp_pf @@ -15,4 +15,8 @@ SUBDIR= ${_snmp_atm} \ INCS= snmpmod.h INCSDIR= ${INCLUDEDIR}/bsnmp +.if ${MACHINE_ARCH} != "amd64" +_snmp_hostres= snmp_hostres +.endif + .include