Running 10.1-STABLE on Raspberry Pi. Freshly installed system, attempted to build "news/cnews": ===> cnews-cr.g_12 depends on executable: gcc48 - not found ===> Verifying install for gcc48 in /usr/ports/lang/gcc make[2]: "/usr/ports/lang/gcc/Makefile" line 66: Malformed conditional (${COMPILER_TYPE} == clang) make[2]: Fatal errors encountered -- cannot continue make[2]: stopped in /usr/ports/lang/gcc *** Error code 1 Stop. make[1]: stopped in /usr/ports/news/cnews *** Error code 1 Stop. make: stopped in /usr/ports/news/cnews If I run "make install" in the /usr/ports/lang/gcc, I see the same "Malformed conditional" error. If I run "make install" in lang/gcc48, I see "===> gcc48-4.8.5.s20150423 is only for amd64 i386 powerpc powerpc64 sparc64, while you are running armv6."
>> If I run "make install" in lang/gcc48, I see "===> gcc48-4.8.5.s20150423 is only for amd64 i386 powerpc powerpc64 sparc64, while you are running armv6." I believe the gcc49 port has fixes for this that can probably be easily copied over.
lang/gcc48 is not supported for arm*. If you really need it, you can adapt the Makefile and copy the files from lang/gcc/files (patch-arm-support, patch-arm-libcpp) to lang/gcc48/files. But this will not help you with your "Malformed conditional" message. Can you build lang/gcc49? A try, you could change line 66 of the lang/gcc/Makefile to: . if ${COMPILER_TYPE} == "clang" Do you have some special settings in /etc/src.conf or /etc/make.conf?
The workaround/fix is really not to use lang/gcc48 or older versions of GCC for ARM. Unfortunately the switch for lang/gcc to GCC 4.9 has been stuck on my end now, but hopefully we'll get this going again soon. In any case, once lang/gcc49 is installed (on ARM or elsewhere), USE_GCC=yes as well as USE_GCC=any will be happy to use that.