ports/150432: [FIX] x11/libcapplet does not build on OSVERSION >= 800071
Joel Ray Holveck
joelh at piquan.org
Thu Sep 9 11:20:01 UTC 2010
>Synopsis: [FIX] x11/libcapplet does not build on OSVERSION >= 800071
>Arrival-Date: Thu Sep 09 11:20:00 UTC 2010
>Originator: Joel Ray Holveck
FreeBSD thor.piquan.org 8.0-STABLE FreeBSD 8.0-STABLE #0: Sun Dec 6 17:38:18 PST 2009 root at thor.piquan.org:/usr/local/src/freebsd/obj/usr/local/src/freebsd/src/sys/THOR i386
The Makefile for x11/libcapplet inhibits building if OSVERSION >= 800071; it has a conditional BROKEN= defined. However, the solution to get it to build is pretty simple.
If you add -fgnu89-inline to the CFLAGS in work/libcapplet-220.127.116.11/Makefile, it'll build just fine. I'm afraid I don't know how to have the ports Makefile conditionally patch something (we only want to add the flag if OSVERSION >= 800071), so I'm afraid I can't put a patch in this PR.
More information about the freebsd-ports-bugs