From owner-freebsd-ports@FreeBSD.ORG Thu Feb 11 13:47:55 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 3335D106566C for ; Thu, 11 Feb 2010 13:47:55 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id B60358FC13 for ; Thu, 11 Feb 2010 13:47:54 +0000 (UTC) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 67B5E5ACBE; Thu, 11 Feb 2010 14:47:50 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 63EB05ACAD; Thu, 11 Feb 2010 14:47:50 +0100 (CET) X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 42C375CE51; Thu, 11 Feb 2010 14:47:50 +0100 (CET) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.5.1FP1) with ESMTP id 2010021114474910-18796 ; Thu, 11 Feb 2010 14:47:49 +0100 Received: by wep4035 (sSMTP sendmail emulation); Thu, 11 Feb 2010 14:47:48 +0100 Date: Thu, 11 Feb 2010 14:47:48 +0100 From: Alexey Shuvaev To: Torfinn Ingolfsen Message-ID: <20100211134748.GA89119@wep4035.physik.uni-wuerzburg.de> References: <4B4FB10D.5040905@FreeBSD.org> <20100115001412.138ed882@gumby.homeunix.com> <4B50B6DD.6040600@FreeBSD.org> MIME-Version: 1.0 In-Reply-To: Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.20 (2009-06-14) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.5.1FP1|January 05, 2010) at 02/11/2010 02:47:50 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.5.1FP1|January 05, 2010) at 02/11/2010 02:47:50 PM, Serialize complete at 02/11/2010 02:47:50 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: FreeBSD Ports ML 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: Thu, 11 Feb 2010 13:47:55 -0000 On Wed, Feb 10, 2010 at 10:33:35PM +0100, Torfinn Ingolfsen wrote: > 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. > You have stale files in your system. From /usr/src/ObsoleteFiles.inc: # 20090406: usb_sw_transfer.h removed OLD_FILES+=usr/include/dev/usb/usb_sw_transfer.h # 20090405: removal of if_ppp(4) and if_sl(4) OLD_FILES+=sbin/slattach rescue/slattach OLD_FILES+=sbin/startslip rescue/startslip OLD_FILES+=usr/include/net/if_ppp.h OLD_FILES+=usr/include/net/if_pppvar.h OLD_FILES+=usr/include/net/if_slvar.h OLD_FILES+=usr/include/net/ppp_comp.h OLD_FILES+=usr/include/net/slip.h OLD_FILES+=usr/sbin/sliplogin You should do 'make delete-old' and 'make delete-old-libs' during upgades. > > 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. >