git: 6c3188928064 - main - databases/firebird40-server: Add missing header file

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 25 Mar 2025 18:11:36 UTC
The branch main has been updated by bofh:

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

commit 6c31889280640083d45efb3d04d652b77d323886
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-03-25 12:38:56 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-03-25 18:11:07 +0000

    databases/firebird40-server: Add missing header file
    
    iberror.h file includes another file called gen/iberror.h which was not
    installed by the pkg. This cannot be easily spotted unless other ports
    tries to use the header.
    
    Approved by:    portmgr (just-fix-it)
---
 databases/firebird40-server/Makefile         | 6 ++++--
 databases/firebird40-server/pkg-plist.client | 1 +
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/databases/firebird40-server/Makefile b/databases/firebird40-server/Makefile
index 30162982344c..4970da03602c 100644
--- a/databases/firebird40-server/Makefile
+++ b/databases/firebird40-server/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	firebird
-PORTVERSION=	4.0.5
-PORTREVISION=	1
+DISTVERSION=	4.0.5
+PORTREVISION=	2
 CATEGORIES?=	databases
 MASTER_SITES=	https://github.com/FirebirdSQL/${PORTNAME}/releases/download/v${PORTVERSION}/
 PKGNAMESUFFIX?=	${PORTVERSION:R:S/.//}-server
@@ -182,6 +182,8 @@ do-install:
 
 	@${MKDIR} ${STAGEDIR}${PREFIX}/include/firebird
 	${INSTALL_DATA} ${CLIENT_HEADER:S!^!${WRKSRC}/src/!} ${STAGEDIR}${PREFIX}/include
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/gen
+	${INSTALL_DATA} ${WRKSRC}/src/include/gen/iberror.h ${STAGEDIR}${PREFIX}/include/gen
 
 	@cd ${WRKSRC}/src/include/firebird && \
 		${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${PREFIX}/include/firebird/{}" \;
diff --git a/databases/firebird40-server/pkg-plist.client b/databases/firebird40-server/pkg-plist.client
index 83fe7fc4b3ac..b2efbf46a67e 100644
--- a/databases/firebird40-server/pkg-plist.client
+++ b/databases/firebird40-server/pkg-plist.client
@@ -39,6 +39,7 @@ include/firebird/impl/dsc_pub.h
 include/firebird/impl/inf_pub.h
 include/firebird/impl/sqlda_pub.h
 include/firebird/impl/types_pub.h
+include/gen/iberror.h
 include/ib_util.h
 include/ibase.h
 include/iberror.h