git: c6093a753e76 - main - databases/mysql55-server: fix check-plist

Adriaan de Groot adridg at FreeBSD.org
Fri Apr 9 09:46:29 UTC 2021


The branch main has been updated by adridg:

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

commit c6093a753e768c6ac154bc7b9ac282f3d7d20220
Author:     Adriaan de Groot <adridg at FreeBSD.org>
AuthorDate: 2021-04-09 07:59:33 +0000
Commit:     Adriaan de Groot <adridg at FreeBSD.org>
CommitDate: 2021-04-09 09:45:57 +0000

    databases/mysql55-server: fix check-plist
    
    An empty directory `info` is created during install; it's
    not listed in the plist. Get rid of it.
    
    Not bumping PORTREVISION because the package itself doesn't change.
---
 databases/mysql55-server/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
index bc25c5a83a42..68d73ea3d41b 100644
--- a/databases/mysql55-server/Makefile
+++ b/databases/mysql55-server/Makefile
@@ -97,6 +97,10 @@ CMAKE_ARGS+=	-DWITH_EMBEDDED_SERVER="ON"
 post-patch:
 	@${REINPLACE_CMD} 's/*.1/${MMAN1}/' ${WRKSRC}/man/CMakeLists.txt
 
+post-install:
+	# Empty directory, but check-plist complains
+	@${RMDIR} ${STAGEDIR}${PREFIX}/info || ${TRUE}
+	
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == armv6 || ${ARCH} == armv7


More information about the dev-commits-ports-all mailing list