git: e6229c8b300c - main - devel/msgpack-cxx: Create even more links

From: Adam Weinberger <adamw_at_FreeBSD.org>
Date: Fri, 07 Apr 2023 18:07:31 UTC
The branch main has been updated by adamw:

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

commit e6229c8b300c0f21f743ec04af288329f83bf4b0
Author:     Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2023-04-07 18:04:46 +0000
Commit:     Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2023-04-07 18:07:27 +0000

    devel/msgpack-cxx: Create even more links
    
    msgpack has made an absolute mess of things.
    
    For the cmake files, some ports want the new filename in the old
    directory name, some want the new name in the new dir, some want the new
    name in the old dir, and some want the old name in the new dir.
    
    I'm over it. Let's make even more links (should fix opendht).
---
 devel/msgpack-cxx/Makefile  | 3 +++
 devel/msgpack-cxx/pkg-plist | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/devel/msgpack-cxx/Makefile b/devel/msgpack-cxx/Makefile
index 6e5994983070..779b36e3475e 100644
--- a/devel/msgpack-cxx/Makefile
+++ b/devel/msgpack-cxx/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	msgpack
 PORTVERSION=	6.0.0
 DISTVERSIONPREFIX=	cpp-
+PORTREVISION=	1
 CATEGORIES=	devel
 PKGNAMESUFFIX=	-cxx
 
@@ -24,6 +25,8 @@ post-install:
 .for tgt in config-version config targets
 	${LN} -sf ../msgpack-cxx/msgpack-cxx-${tgt}.cmake \
 		${STAGEDIR}${PREFIX}/lib/cmake/msgpackc-cxx/msgpackc-cxx-${tgt}.cmake
+	${LN} -sf ../msgpack-cxx/msgpack-cxx-${tgt}.cmake \
+		${STAGEDIR}${PREFIX}/lib/cmake/msgpackc-cxx/msgpack-cxx-${tgt}.cmake
 .endfor
 
 .include <bsd.port.mk>
diff --git a/devel/msgpack-cxx/pkg-plist b/devel/msgpack-cxx/pkg-plist
index c01edfff92c1..2f34d0a09d1f 100644
--- a/devel/msgpack-cxx/pkg-plist
+++ b/devel/msgpack-cxx/pkg-plist
@@ -731,6 +731,9 @@ include/msgpack/zone_decl.hpp
 lib/cmake/msgpack-cxx/msgpack-cxx-config-version.cmake
 lib/cmake/msgpack-cxx/msgpack-cxx-config.cmake
 lib/cmake/msgpack-cxx/msgpack-cxx-targets.cmake
+lib/cmake/msgpackc-cxx/msgpack-cxx-config-version.cmake
+lib/cmake/msgpackc-cxx/msgpack-cxx-config.cmake
+lib/cmake/msgpackc-cxx/msgpack-cxx-targets.cmake
 lib/cmake/msgpackc-cxx/msgpackc-cxx-config-version.cmake
 lib/cmake/msgpackc-cxx/msgpackc-cxx-config.cmake
 lib/cmake/msgpackc-cxx/msgpackc-cxx-targets.cmake