--- databases/postgresql14-server/Makefile.orig 2021-09-28 14:08:47.979544000 +0300 +++ databases/postgresql14-server/Makefile 2021-09-27 16:08:11.146045000 +0300 @@ -313,6 +331,10 @@ -e '/m4_PACKAGE_VERSION/s/\[2\.6[0-9]\]/m4_defn([m4_PACKAGE_VERSION])/' \ -e '/icu/s/_57//' \ ${WRKSRC}/configure.in +. elif defined(CLIENT_ONLY) && !defined(OPENSSL_PORT) + @${REINPLACE_CMD} \ + -e '/^PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto/d' \ + ${WRKSRC}/src/interfaces/libpq/Makefile . endif do-install: