Switch to ports-gcc

cc1: error: -Werror=vla: No option -Wvla
cc1: error: unrecognized command line option "-Wimplicit-fallthrough=3"
cc1: error: unrecognized command line option "-Wcast-function-type"
cc1: error: unrecognized command line option "-Wshadow=compatible-local"
cc1: error: unrecognized command line option "-fexcess-precision=standard"
cc1: error: unrecognized command line option "-Wno-stringop-truncation"

OK jca@, go for it tb@
This commit is contained in:
claudio
2025-11-25 12:54:44 +00:00
parent b11ad7ef7b
commit 255d573c71
5 changed files with 20 additions and 0 deletions
+4
View File
@@ -16,6 +16,10 @@ PERMIT_PACKAGE = Yes
WANTLIB = c sqlite3
# -Wvla and other unrecognized command line options
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
BUILD_DEPENDS = databases/postgresql,-server
RUN_DEPENDS = databases/postgresql,-server
LIB_DEPENDS = databases/sqlite3
+4
View File
@@ -17,6 +17,10 @@ SITES= https://www.pgpool.net/mediawiki/images/
WANTLIB= c crypto m pq ssl pthread
# -Wvla and other unrecognized command line options
COMPILER= base-clang ports-gcc
COMPILER_LANG= c
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --with-openssl
+4
View File
@@ -22,6 +22,10 @@ PERMIT_PACKAGE = Yes
WANTLIB = c ${MODLUA_WANTLIB}
# -Wvla and other unrecognized command line options
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
MODULES = lang/lua
MODLUA_VERSION = 5.3
+4
View File
@@ -14,6 +14,10 @@ PERMIT_PACKAGE = Yes
WANTLIB = c lib/R/lib/R
# -Wvla and other unrecognized command line options
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
BUILD_DEPENDS = databases/postgresql,-server
RUN_DEPENDS = databases/postgresql,-server
LIB_DEPENDS = math/R
+4
View File
@@ -15,6 +15,10 @@ PERMIT_PACKAGE = Yes
WANTLIB += c crypto curl curses execinfo json-c m pq readline ssl
WANTLIB += xml2 z pthread
# -Wvla and other unrecognized command line options
COMPILER = base-clang ports-gcc
COMPILER_LANGS= c c++
SITES = ${HOMEPAGE}download/
USE_GMAKE = Yes