git: 449d591cb181 - main - databases/mysql80-client: Fix stage-qa after 567557abbfc0a4deec492983ffc01da78c62bae4

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 02 May 2023 16:29:45 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=449d591cb18160de843f195b229f7e5f872f8d23

commit 449d591cb18160de843f195b229f7e5f872f8d23
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-02 16:21:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-02 16:25:54 +0000

    databases/mysql80-client: Fix stage-qa after 567557abbfc0a4deec492983ffc01da78c62bae4
    
    ====> Running Q/A tests (stage-qa)
    ====> Checking for pkg-plist issues (check-plist)
    ===> Parsing plist
    ===> Checking for items in STAGEDIR missing from pkg-plist
    Error: Orphaned: lib/mysql/private/libprotobuf-lite.so.3.19.4
    Error: Orphaned: lib/mysql/private/libprotobuf.so.3.19.4
    ===> Checking for items in pkg-plist which are not in STAGEDIR
    ===> Error: Plist issues found.
    *** Error code 1
    
    Stop.
    make: stopped in /usr/ports/databases/mysql80-client
    =>> Error: check-plist failures detected
    
    Approved by:    portmgr (blanket)
---
 databases/mysql80-client/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/databases/mysql80-client/Makefile b/databases/mysql80-client/Makefile
index f11a0fe23d6d..9cfa8d717d8b 100644
--- a/databases/mysql80-client/Makefile
+++ b/databases/mysql80-client/Makefile
@@ -40,6 +40,9 @@ OPTIONS_SUB=	yes
 
 # issue 166367: adding symlinks for back-compatibility with ${lib}_r
 post-install:
+#	@${RM} ${STAGEDIR}${PREFIX}/lib/mysql/private/libprotobuf-lite.so.3.19.4
+#	@${RM} ${STAGEDIR}${PREFIX}/lib/mysql/private/libprotobuf.so.3.19.4
+	@${RM} -r ${STAGEDIR}${PREFIX}/lib/mysql/private
 	@${LN} -s libmysqlclient.a ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.a
 	@${LN} -s libmysqlclient.so ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so
 	@${LN} -s libmysqlclient.so.21 ${STAGEDIR}${PREFIX}/lib/mysql/libmysqlclient_r.so.21