CFT: astro/boinc-setiathome-enhanced update

Rene Ladan r.c.ladan at gmail.com
Sun Nov 23 03:42:09 PST 2008


Torfinn Ingolfsen schreef:
> Hello,
> 
> FWIW, even if  I disable astropulse, the problems remains the same.
> root at kg-vm# make showconfig
> ===> The following configuration options are available for
> boinc-setiathome-enhanced-6.03.4.28:
>      SETI_APP=on "Install SETI at home binary"
>      AP_APP=off "Install Astropulse binary"
> ===> Use 'make config' to modify these settings
> 
> Here are the last few lines from 'make':
> configure: "--- Configuring SETI_BOINC 6.03 (client only) ---"
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for g++... g++
> checking for C++ compiler default output file name...
> configure: error: C++ compiler cannot create executables
> See `config.log' for more details.
> *** Error code 77
> 
> Stop in /usr/ports/astro/boinc-setiathome-enhanced.
> *** Error code 1
> 
> Stop in /usr/ports/astro/boinc-setiathome-enhanced.
> 
> 
> I believe the problem can be tracked to these lines in config.log:
> configure:3290: checking for C++ compiler default output file name
> configure:3312: g++ -O -pipe -I/usr/local/include
> -I/usr/local/include/BOINC -L/usr/local/lib -O3 -mtune=native -march=
> -fno-strict-aliasing -O -pipe -I/usr/local/include
> -I/usr/local/include/BOINC -L/usr/local/lib -O3 -mtune=native -march=
> -fno-strict-aliasing   -L/usr/local/lib conftest.cpp  >&5
> cc1plus: error: missing argument to "-march="
> cc1plus: error: missing argument to "-march="
> 
> No, I don't have CC or CXX set, neiher in /etc/make.conf nor in the environment.

My bad, I defined march=${CPUTYPE} at line 34 of the port Makefile.  Removing that
should hopefully enable you to build the port (both setiathome and astropulse).
/usr/share/mk/bsd.cpu.mk doesn't set a default CPUTYPE.

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

Thanks for testing it :)

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