git: fa6a16eebc32 - main - science/libcifpp: Add regression workaround that fixes dependencies

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 18 Sep 2024 19:45:46 UTC
The branch main has been updated by yuri:

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

commit fa6a16eebc3277f485e71c25fdd100a355e18db3
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-09-18 15:14:12 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-09-18 19:45:39 +0000

    science/libcifpp: Add regression workaround that fixes dependencies
---
 science/libcifpp/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/science/libcifpp/Makefile b/science/libcifpp/Makefile
index d9ea3b077d47..cb2f2125fbe8 100644
--- a/science/libcifpp/Makefile
+++ b/science/libcifpp/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	libcifpp
 DISTVERSIONPREFIX=	v
 DISTVERSION=	7.0.5
+PORTREVISION=	1
 CATEGORIES=	science
 MASTER_SITES=	https://files.wwpdb.org/pub/pdb/data/monomers/:components
 DISTFILES=	components.cif.gz:components
@@ -34,5 +35,7 @@ post-install:
 	@cd ${STAGEDIR}${PREFIX} && \
 		${RM} -r var etc/libcifpp etc/periodic
 	@${RM} -r ${STAGEDIR}/var/cache/libcifpp
+	# workaround for https://github.com/PDB-REDO/libcifpp/issues/65
+	@${REINPLACE_CMD} -i '' -e 's|;std::atomic||' ${STAGEDIR}${PREFIX}/lib/cmake/cifpp/cifpp-targets.cmake
 
 .include <bsd.port.mk>