From owner-freebsd-ports@FreeBSD.ORG Wed Feb 10 21:33:38 2010 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 336BA1065692; Wed, 10 Feb 2010 21:33:38 +0000 (UTC) (envelope-from tingox@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 629DF8FC20; Wed, 10 Feb 2010 21:33:37 +0000 (UTC) Received: by fxm24 with SMTP id 24so13274fxm.3 for ; Wed, 10 Feb 2010 13:33:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ZQUVEKat4l32ZfBjvlrW6em/P1zze2xcvcE9vHRIEhw=; b=RqgRMUCHUzAw3Y5Rup3a3PjGmpcXeL4MrhQVsY8lUTOjXJYfNu8dAh8+4y3YdfWvtX AuQIoIY9EhuwYCLfUvF5f7PZxTmdHXSUJgnqVvpFZd7MX0YAUQ16dbIsBcL8Zo4m+tLQ nhhzGtxiLKnZbujeBUv46B4NnIgktSTCt4rLQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Mrli1izc99f3mAKIpuKolHz58v3ioD2xceBS9vVJau/+4lAxwGoly3tT8zdZzW9hqR zhAwMTNQyNsPmGeVFb/fq1mRGI64pyOV/siZObVHlCGvYrsHMVMytLx/aJV+j1N4Ck8Y mCxo8eHgtCusaYkfjyiQGYSUKPEBeZVNYY0vs= MIME-Version: 1.0 Received: by 10.223.3.216 with SMTP id 24mr1111825fao.6.1265837615907; Wed, 10 Feb 2010 13:33:35 -0800 (PST) In-Reply-To: <4B50B6DD.6040600@FreeBSD.org> References: <4B4FB10D.5040905@FreeBSD.org> <20100115001412.138ed882@gumby.homeunix.com> <4B50B6DD.6040600@FreeBSD.org> Date: Wed, 10 Feb 2010 22:33:35 +0100 Message-ID: From: Torfinn Ingolfsen To: FreeBSD Ports ML Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: demon@freebsd.org Subject: Re: sysutils/xfce4-netload-plugin - why is it marked as broken on 8? 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: Wed, 10 Feb 2010 21:33:38 -0000 Hello, On Fri, Jan 15, 2010 at 7:41 PM, Greg Larkin wrote: > This commit log refers to the fact that the value of __FreeBSD_version > was bumped to 800045 due to the removal of the if_ppp(4) driver. You > can find all of the historical values of that variable here: > http://www.freebsd.org/doc/en/books/porters-handbook/freebsd-versions.html > > In this case, the port Makefile should be patched like so: > > - --- Makefile.orig 2010-01-15 13:37:50.374330422 -0500 > +++ Makefile 2010-01-15 13:38:04.101133409 -0500 > @@ -24,7 +24,7 @@ > > .include > > - -.if ${OSVERSION} >= 800000 > +.if ${OSVERSION} >= 800045 > Well, that value doesn't work anymore. Here's the rub: root@kg-v2# uname -a FreeBSD kg-v2.kg4.no 8.0-STABLE FreeBSD 8.0-STABLE #1: Wed Jan 6 21:21:40 CET 2010 root@kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 root@kg-v2# pwd /usr/ports/sysutils/xfce4-netload-plugin root@kg-v2# make ===> xfce4-netload-plugin-0.4.0_10 is marked as broken: does not compile: error: net/if_ppp.h: No such file or directory. *** Error code 1 Stop in /usr/ports/sysutils/xfce4-netload-plugin. According to param.h, the value is now 800108. if_ppp.h is still present, and the port compiles fine if I comment out the three lines reagarding the BROKEN meaasge. > A better fix might be to port the code from using if_ppp(4) to the > replacement ppp(8), as noted in the commit log. Probably. I don't know how to do that. Sorry. -- Regards, Torfinn Ingolfsen