--- configure 2023-09-26 19:00:17.000000000 +0700 +++ configure 2023-09-28 01:00:44.000000000 +0700 @@ -8,7 +8,7 @@ PKG_DEB_NAME="libmariadbclient-dev | libmariadb-client-lgpl-dev" PKG_RPM_NAME="mariadb-connector-c-devel | mariadb-devel | mysql-devel" PKG_CSW_NAME="mysql56_dev" -PKG_BREW_NAME="mariadb-connector-c" +PKG_MP_NAME="mariadb-connector-c" PKG_TEST_HEADER="" PKG_LIBS="-lmysqlclient" @@ -30,18 +30,6 @@ echo "Found mysql_config cflags and libs!" PKG_CFLAGS=${PKGCONFIG_CFLAGS} PKG_LIBS=${PKGCONFIG_LIBS} - # Workaround for homebrew linkin bug - if [ `uname` = "Darwin" ]; then - PKG_LIBS="-L/usr/local/opt/openssl/lib $PKG_LIBS" - fi -elif [ `uname` = "Darwin" ]; then - test ! "$CI" && brew --version 2>/dev/null - if [ $? -eq 0 ]; then - BREWDIR=`brew --prefix` - else - curl -sfL "https://autobrew.github.io/scripts/$PKG_BREW_NAME" > autobrew - . ./autobrew - fi fi # Find compiler @@ -63,7 +51,7 @@ echo " * deb: $PKG_DEB_NAME (Debian, Ubuntu)" echo " * rpm: $PKG_RPM_NAME (Fedora, CentOS, RHEL)" echo " * csw: $PKG_CSW_NAME (Solaris)" - echo " * brew: $PKG_BREW_NAME (OSX)" + echo " * port: $PKG_MP_NAME (OSX)" echo "If you already have a mysql client library installed, verify that either" echo "mariadb_config or mysql_config is on your PATH. If these are unavailable" echo "you can also set INCLUDE_DIR and LIB_DIR manually via:"