https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208538
--- Comment #5 from [email protected] --- Attempts to make firefox compile with gcc5 without globally setting DEFAULT_VERSIONS= gcc=5 in /etc/make.conf failed. This was my preferred course, to avoid having to rebuild with gcc5 a lot of libraries that are used in the course of software development on this system. I tried putting USE_GCC=4.9+ in a /usr/local/etc/pkgtools.conf rule, but portupgrade failed --- the port continued to use gcc48. MAKE_ENV = { 'firefox-*' => 'USE_GCC=4.9+', } I tried building with "USE_GCC=4.9+" directly on a make command line in /usr/ports/www/firefox, but got an error message about string comparison error on line 130 of bsd.gcc.mk, which is supposed to be doing a numeric comparison. Same happened if I just used USE_GCC=5. I also tried just editing the Makefile in /usr/ports/www/firefox to add USE_GCC=5, and it gave the same error message (not surprisingly). The only thing that worked was DEFAULT_VERSIONS= gcc=5 in /etc/make.conf (or commenting out FAVORITE_COMPILER=gcc), as you recommend in comment 2. Since I can defer having to upgrade the various libraries I need for development for a while, and then upgrade all of them to build with gcc 5 when one of them forces me to upgrade (or otherwise play games with /etc/make.conf), I can live with this for now. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-gecko To unsubscribe, send any mail to "[email protected]"
