From owner-freebsd-ports@FreeBSD.ORG Fri Nov 4 04:21:58 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBD8E106566B; Fri, 4 Nov 2011 04:21:58 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7AF948FC0A; Fri, 4 Nov 2011 04:21:58 +0000 (UTC) Received: by ywt32 with SMTP id 32so2714366ywt.13 for ; Thu, 03 Nov 2011 21:21:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=5s7bI0hQWKAuYmEuEAsFAcFDGq1dp+p5Xsj4KfgjP+s=; b=VGRsNm+ESt9symQ/gbDpADXbauVj6q+znHU6BOYxKg6n7rH+R9zh/pyNxNcrsI8xog pL9J37ZM5Fm9+8fIt8u8SdvNhG6aa24SZuuhlXmXDU4TRlofEAI2XicRMb59blEl0U0U cLMEdVj68CrP5RRfFt2VWuobqo+f8qIGRTgPM= Received: by 10.150.7.15 with SMTP id 15mr12997649ybg.65.1320379126471; Thu, 03 Nov 2011 20:58:46 -0700 (PDT) Received: from [192.168.20.5] (c-24-6-49-154.hsd1.ca.comcast.net. [24.6.49.154]) by mx.google.com with ESMTPS id l19sm23689144anc.14.2011.11.03.20.58.44 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 03 Nov 2011 20:58:45 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 From: Garrett Cooper In-Reply-To: <20111104032521.GA4093@tinyCurrent> Date: Thu, 3 Nov 2011 20:58:40 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <7989121B-FF1E-4631-BACC-73FED47E7BC1@gmail.com> References: <20111104032521.GA4093@tinyCurrent> To: Matthias Apitz X-Mailer: Apple Mail (2.1084) Cc: bf1783@gmail.com, sylvio@freebsd.org, freebsd-current@freebsd.org, freebsd-ports@freebsd.org Subject: Re: 10.0-CUR r226986 && ports/net-mgmt/net-snmp X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2011 04:21:58 -0000 On Nov 3, 2011, at 8:25 PM, Matthias Apitz wrote: > El d=EDa Thursday, November 03, 2011 a las 01:42:50PM -0400, b. f. = escribi=F3: >=20 >> No, it is not the same. You can either masquerade, by setting = UNAME_r >> and OSVERSION, or by editing the headers and scripts that define = them; >> or you can use WITH_FBSD10_FIX for ports that define HAS_CONFIGURE >> (which is implied by USE_AUTOTOOLS and GNU_CONFIGURE). Right now the >> masquerading is probably safer, because there are some problems with >> the fix that are still being resolved -- and a few ports that may = fail >> despite the fix. But of course if you help to test without >> masquerading, these problems will be resolved sooner. >=20 > Well, I will try to help. >=20 > I have set WITH_FBSD10_FIX in /etc/make.conf; the port > ports/net-mgmt/net-snmp installs: >=20 > /usr/local/include/net-snmp/net-snmp-config.h >=20 > with: >=20 > ... > /* define the system type include file here */ > #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/freebsd10.h" > ... >=20 > but the named header file is not there: >=20 > # ls -C1 /usr/local/include/net-snmp/system/free* > /usr/local/include/net-snmp/system/freebsd.h > /usr/local/include/net-snmp/system/freebsd2.h > /usr/local/include/net-snmp/system/freebsd3.h > /usr/local/include/net-snmp/system/freebsd4.h > /usr/local/include/net-snmp/system/freebsd5.h > /usr/local/include/net-snmp/system/freebsd6.h > /usr/local/include/net-snmp/system/freebsd7.h > /usr/local/include/net-snmp/system/freebsd8.h > /usr/local/include/net-snmp/system/freebsd9.h >=20 > I don't know what the correct fix ist, and for the moment I > created 'freebsd10.h' as a copy of 'freebsd9.h': >=20 > # cat freebsd10.h > #include "freebsd9.h" > #define freebsd8 freebsd8 >=20 > +Cc: maintainer You'll need to do more than just that. Take a look at the port history = for more details... -Garrett=