Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2010 22:33:35 +0100
From:      Torfinn Ingolfsen <tingox@gmail.com>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Cc:        demon@freebsd.org
Subject:   Re: sysutils/xfce4-netload-plugin - why is it marked as broken on 8?
Message-ID:  <ef8c8a881002101333l7fe5c957m88ef2beb3441983c@mail.gmail.com>
In-Reply-To: <4B50B6DD.6040600@FreeBSD.org>
References:  <ef8c8a881001141542n7d706477sf9c2258ead2c70c7@mail.gmail.com> <4B4FB10D.5040905@FreeBSD.org> <20100115001412.138ed882@gumby.homeunix.com> <ef8c8a881001150645kb0cc5fcpc37de51e77f72316@mail.gmail.com> <4B50B6DD.6040600@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

On Fri, Jan 15, 2010 at 7:41 PM, Greg Larkin <glarkin@freebsd.org> 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 <bsd.port.pre.mk>
>
> - -.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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ef8c8a881002101333l7fe5c957m88ef2beb3441983c>