From 255d573c71dc5e76bbed07147a6be3d781ee62fc Mon Sep 17 00:00:00 2001 From: claudio Date: Tue, 25 Nov 2025 12:54:44 +0000 Subject: [PATCH] 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@ --- databases/pg_sqlite_fdw/Makefile | 4 ++++ databases/pgpool/Makefile | 4 ++++ databases/postgresql-pllua/Makefile | 4 ++++ databases/postgresql-plr/Makefile | 4 ++++ databases/repmgr/Makefile | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/databases/pg_sqlite_fdw/Makefile b/databases/pg_sqlite_fdw/Makefile index 0345d9b8577..04738139250 100644 --- a/databases/pg_sqlite_fdw/Makefile +++ b/databases/pg_sqlite_fdw/Makefile @@ -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 diff --git a/databases/pgpool/Makefile b/databases/pgpool/Makefile index ec2a77e5d3f..1a8a412ca97 100644 --- a/databases/pgpool/Makefile +++ b/databases/pgpool/Makefile @@ -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 diff --git a/databases/postgresql-pllua/Makefile b/databases/postgresql-pllua/Makefile index 1b9758a9a48..4d294b13593 100644 --- a/databases/postgresql-pllua/Makefile +++ b/databases/postgresql-pllua/Makefile @@ -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 diff --git a/databases/postgresql-plr/Makefile b/databases/postgresql-plr/Makefile index 3264493b22a..099d8e6a3fc 100644 --- a/databases/postgresql-plr/Makefile +++ b/databases/postgresql-plr/Makefile @@ -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 diff --git a/databases/repmgr/Makefile b/databases/repmgr/Makefile index a4a503762c1..746631c99cc 100644 --- a/databases/repmgr/Makefile +++ b/databases/repmgr/Makefile @@ -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