git: 54e3c4d650d4 - main - databases/mariadb1011-server: Fix typo in mysql_config

From: Bernard Spil <brnrd_at_FreeBSD.org>
Date: Mon, 10 Apr 2023 11:42:34 UTC
The branch main has been updated by brnrd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=54e3c4d650d40e5883cd781d7100898b291bec30

commit 54e3c4d650d40e5883cd781d7100898b291bec30
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2023-04-10 11:41:46 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2023-04-10 11:41:46 +0000

    databases/mariadb1011-server: Fix typo in mysql_config
    
    PR:             269654
    Reported by:    Oleg Sidorkin <osidorkin gmail com>
---
 databases/mariadb1011-server/Makefile                             | 2 +-
 databases/mariadb1011-server/files/patch-scripts_mysql__config.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/databases/mariadb1011-server/Makefile b/databases/mariadb1011-server/Makefile
index 48199c4fc924..7b04f6c77c92 100644
--- a/databases/mariadb1011-server/Makefile
+++ b/databases/mariadb1011-server/Makefile
@@ -1,6 +1,6 @@
 PORTNAME?=	mariadb
 PORTVERSION=	10.11.2
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	databases
 MASTER_SITES=	https://mirror.nodesdirect.com/${SITESDIR}/ \
 		https://mirror.one.com/${SITESDIR}/ \
diff --git a/databases/mariadb1011-server/files/patch-scripts_mysql__config.sh b/databases/mariadb1011-server/files/patch-scripts_mysql__config.sh
index 31b54bf148c5..f8321be63ecc 100644
--- a/databases/mariadb1011-server/files/patch-scripts_mysql__config.sh
+++ b/databases/mariadb1011-server/files/patch-scripts_mysql__config.sh
@@ -4,7 +4,7 @@
  # Create options 
  libs="-L$pkglibdir @RPATH_OPTION@ @LIBS_FOR_CLIENTS@"
  embedded_libs="-L$pkglibdir @RPATH_OPTION@ @EMB_LIBS_FOR_CLIENTS@"
-+embedded_libs="-L$embedded_libs -%%LOCALBASE%%/lib "
++embedded_libs="$embedded_libs -%%LOCALBASE%%/lib "
  
  include="-I$pkgincludedir"
  if [ "$basedir" != "/usr" ]; then