CFT: astro/boinc-setiathome-enhanced update

Rene Ladan r.c.ladan at gmail.com
Sun Nov 23 06:36:52 PST 2008


Torfinn Ingolfsen schreef:
> Hello,
> 
> On Sun, Nov 23, 2008 at 12:42 PM, Rene Ladan <r.c.ladan at gmail.com> wrote:
>> I've modified the Makefile at that point to read:
>>
>>  34: CFLAGS+=   -I${LOCALBASE}/include -I${LOCALBASE}/include/BOINC
>> -L${LOCALBASE}/lib -O3 -mtune=native
>> +35: .if defined(CPUTYPE)
>> +36: CFLAGS+=   -march=${CPUTYPE}
>> +37: .endif
> 
> With this change, the build gets a little further, but then stops with:
> 
> /usr/local/include/BOINC/config.h:440:1: warning: "VERSION" redefined
> In file included from gdata.cpp:28:
> ../sah_config.h:518:1: warning: this is the location of the previous definition
> In file included from gdata.cpp:33:
> gdata.h:39:20: error: reduce.h: No such file or directory
> In file included from gdata.cpp:33:
> gdata.h:148: error: 'REDUCED_ARRAY_DATA' does not name a type
> gmake[2]: *** [seti_boinc-gdata.o] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/astro/boinc-setiathome-enhanced/work/seti_boinc/client'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/astro/boinc-setiathome-enhanced/work/seti_boinc'
> gmake: *** [all] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/astro/boinc-setiathome-enhanced.
> *** Error code 1
> 
> Stop in /usr/ports/astro/boinc-setiathome-enhanced.
> 
> 
> The file reduce.h doesnt seem to be on my machine at all, and the
> souce code cross reference at fxr.watson.org doesn't seem to know it
> either: http://fxr.watson.org/fxr/find?string=reduce.h
>
Nope, this file is part of net/boinc-client.  The current port doesn't
install some files needed for the update.  I once copied them manually
to /usr/local/include/BOINC and completely forgot about that afterwards.

The required files are: reduce.h, graphics_data.h, graphics_api.h, and
boinc_gl.h.  The last three are probably only required when the
screensavers are built, which is currently disabled.  The files can be
found in /usr/ports/net/boinc-client/work/boinc-client-6.2.14/api
after `make patch'.

>> Thanks for testing it :)
> 
> No problem. :-)

Regards,
Rene
-- 
http://www.rene-ladan.nl/

GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net)


More information about the freebsd-ports mailing list