aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-02 07:05:53 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-02 07:07:24 +0000
commit67789b5e979094b62a895b4655b24d325a577130 (patch)
tree59629e619665fd028f37231e8596fd8b05aa3a33
parentf83803546093676692c3736fb4699571687f83cd (diff)
downloadports-67789b5e979094b62a895b4655b24d325a577130.tar.gz
ports-67789b5e979094b62a895b4655b24d325a577130.zip
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)
-rw-r--r--devel/msgpack-c/Makefile4
1 files changed, 3 insertions, 1 deletions
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>