git: 6df2cc57695d - main - security/nettle: Use bundled nettle.info

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 14:10:38 UTC
The branch main has been updated by sunpoet:

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

commit 6df2cc57695d9e7a6f82432c66437feaf717f7b2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:45:44 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:05:28 +0000

    security/nettle: Use bundled nettle.info
---
 security/nettle/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/security/nettle/Makefile b/security/nettle/Makefile
index 8867eca464ce..c8ba2ed6e855 100644
--- a/security/nettle/Makefile
+++ b/security/nettle/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE_LGPL3=	${WRKSRC}/COPYING.LESSERv3
 BUILD_DEPENDS=	gmp>=6.1.0:math/gmp
 LIB_DEPENDS=	libgmp.so:math/gmp
 
-USES=		compiler:c11 cpe gmake localbase makeinfo pathfix
+USES=		compiler:c11 cpe gmake localbase pathfix
 
 CONFIGURE_ARGS=	--enable-shared
 CONFIGURE_ENV=	M4="/usr/bin/m4 -g"
@@ -43,6 +43,7 @@ post-patch:
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
+	${INSTALL_DATA} ${WRKSRC}/nettle.info ${STAGEDIR}${PREFIX}/${INFO_PATH}/nettle.info
 
 post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}