pgadmin3 is one of the ports that I did not manage to fix for the upcoming libcrypto bump.
The problem is that it embeds a version of libssh2 old enough that it wasn't converted to the OpenSSL 1.1 API. Patching this version is a fool's errand. The diff below disables use of libcrypto and libssl. I don't know if it makes sense to ship pgadmin3 without this, but given that configure is prepared for it, it might. Someone motivated enough might manage to update that embedded libssh2. I tried but I quickly gave up. Index: Makefile =================================================================== RCS file: /cvs/ports/databases/pgadmin3/Makefile,v retrieving revision 1.46 diff -u -p -r1.46 Makefile --- Makefile 6 Jul 2021 16:55:32 -0000 1.46 +++ Makefile 9 Jan 2022 18:57:27 -0000 @@ -5,7 +5,7 @@ COMMENT= administration and development V= 1.22.1 DISTNAME= pgadmin3-$V CATEGORIES= databases devel -REVISION= 6 +REVISION= 7 HOMEPAGE= https://www.pgadmin.org/ @@ -14,7 +14,7 @@ MAINTAINER= Pierre-Emmanuel Andre <pea@o # Artistic license PERMIT_PACKAGE= Yes -WANTLIB += ${COMPILER_LIBCXX} c crypto m pq wx_baseu-3.0 wx_baseu_net-3.0 +WANTLIB += ${COMPILER_LIBCXX} c m pq wx_baseu-3.0 wx_baseu_net-3.0 WANTLIB += wx_baseu_xml-3.0 wx_gtk3u_adv-3.0 wx_gtk3u_aui-3.0 WANTLIB += wx_gtk3u_core-3.0 wx_gtk3u_html-3.0 wx_gtk3u_stc-3.0 WANTLIB += wx_gtk3u_xrc-3.0 xml2 xslt z @@ -34,7 +34,9 @@ BUILD_DEPENDS += databases/postgresql,-s CONFIGURE_STYLE=gnu CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS}" CONFIGURE_ARGS= --with-pgsql=${LOCALBASE} \ - --with-wx-version=3.0 + --with-wx-version=3.0 \ + ac_cv_libssl=no\ + ac_cv_libgcrypt=no USE_GMAKE= Yes