From owner-freebsd-questions@FreeBSD.ORG Thu Apr 30 16:01:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75F92106566B for ; Thu, 30 Apr 2009 16:01:59 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from mx04.pub.collaborativefusion.com (mx04.pub.collaborativefusion.com [206.210.72.84]) by mx1.freebsd.org (Postfix) with ESMTP id 3FBAE8FC19 for ; Thu, 30 Apr 2009 16:01:58 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from [192.168.2.164] ([206.210.89.202]) by mx04.pub.collaborativefusion.com (StrongMail Enterprise 4.1.1.4(4.1.1.4-47689)); Thu, 30 Apr 2009 12:00:01 -0400 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::0 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-questions@freebsd.org X-SMFBL: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= Message-ID: <49F9CB68.7040708@comcast.net> Date: Thu, 30 Apr 2009 12:01:44 -0400 From: Steve Polyack User-Agent: Thunderbird 2.0.0.21 (X11/20090327) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= References: <26ddd1750904270928g106c8d7dg72b6b3a09ffc0afa@mail.gmail.com> <49F5F459.9000403@ibctech.ca> <49F5FBBF.6060207@comcast.net> <49F8ABE9.4060505@pp.dyndns.biz> In-Reply-To: <49F8ABE9.4060505@pp.dyndns.biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Free BSD Questions list Subject: Re: bsnmpd vs net-snmp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Apr 2009 16:01:59 -0000 Morgan Wesström wrote: > So I have two questions: > > 1) Is --with-mib-modules=if-mib already covered in the Makefile? I can > see the parameter but it refers to a variable I don't know the contents > of. The variable seems to refer to the build option NET_SNMP_MIB_MODULES > which is mentioned at the beginning of the compile process but I don't > know how to use it or its initial value. > > 2) Is there anyway to enable these two options during make without > editing the Makefile? > > Regards > Morgan > > 1. Yes, --with-mib-modules=if-mib is automatically appended to the list of mib modules when you set the WITH_MFD_REWRITES define. 2. The easiest way is to set the define upon running make [/usr/ports/net-mgmt/net-snmp]$ make -DWITH_MFD_REWRITES install clean