git: 67789b5e9790 - main - devel/msgpack-c: Fix build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 Jan 2024 07:07:32 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=67789b5e979094b62a895b4655b24d325a577130 commit 67789b5e979094b62a895b4655b24d325a577130 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-01-02 07:05:53 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-01-02 07:07:24 +0000 devel/msgpack-c: Fix build During the 12.4 Sunset pre/post target was removed but CMAKE_BUILD_TYPE is used in post-install target which can be used only with pre stage. Approved by: portmgr (just-fix-it) --- devel/msgpack-c/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/devel/msgpack-c/Makefile b/devel/msgpack-c/Makefile index e84d3f8f3bb8..25f8d4bb1091 100644 --- a/devel/msgpack-c/Makefile +++ b/devel/msgpack-c/Makefile @@ -21,6 +21,8 @@ GH_PROJECT= msgpack-c CMAKE_OFF= MSGPACK_BUILD_EXAMPLES MSGPACK_BUILD_TESTS TEST_TARGET= test +.include <bsd.port.pre.mk> + pre-test: cd ${WRKSRC} && ${CMAKE_BIN} . && ${MAKE_CMD} @@ -37,4 +39,4 @@ post-install: ${LN} -sf libmsgpack-c.${ext} ${STAGEDIR}${PREFIX}/lib/libmsgpackc.${ext} .endfor -.include <bsd.port.mk> +.include <bsd.port.post.mk>