Skip to content

Commit

Permalink
devel/msgpack-cxx: Create even more links
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
assistcontrol committed Apr 7, 2023
1 parent 5fe51e3 commit e6229c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions devel/msgpack-cxx/Makefile
@@ -1,6 +1,7 @@
PORTNAME= msgpack
PORTVERSION= 6.0.0
DISTVERSIONPREFIX= cpp-
PORTREVISION= 1
CATEGORIES= devel
PKGNAMESUFFIX= -cxx

Expand All @@ -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>
3 changes: 3 additions & 0 deletions devel/msgpack-cxx/pkg-plist
Expand Up @@ -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

0 comments on commit e6229c8

Please sign in to comment.