sysutils/xfce4-netload-plugin - why is it marked as broken on 8?

Torfinn Ingolfsen tingox at gmail.com
Wed Feb 10 21:33:38 UTC 2010


Hello,

On Fri, Jan 15, 2010 at 7:41 PM, Greg Larkin <glarkin at 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 at 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 at kg-v2.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
root at kg-v2# pwd
/usr/ports/sysutils/xfce4-netload-plugin
root at 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


More information about the freebsd-ports mailing list