In the loop over out of tree extensions (GH_TUPLE) used for checking which LIB_DEPENDS to add, an incorrect testing leads to always pull dependencies, notably aws-sdk-cpp, which in turns pulls a whole bunch of unneeded dependencies in current port we have LIB_DEPENDS+= ${PORT_OPTIONS:M${opt}:?${${opt}_LIB_DEPENDS}:} which always tests true I changed it to : LIB_DEPENDS+= ${"${PORT_OPTIONS:M${opt}}" != "":?${${opt}_LIB_DEPENDS}:} which actually skips unneeded dependencies (when opt is not not in PORT_OPTIONS)
Created attachment 273382 [details] patch against current ports tree Attached a patch which makes a revision with fixed syntax