[Bug 286616] math/mpdecimal: Update to 4.0.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 07 May 2025 11:39:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286616

--- Comment #3 from Vladimir Druzenko <vvd@FreeBSD.org> ---
> Then there is an already existing small issue in ``make stage-qa'', which is
> nagging about adding pathfix to USES because the pkg-config path is fixed.
Don't see warnings… Can you copy&paste this text?

My suggestion (tested build in poudriere 14.2 amd64):
@@ -1,5 +1,5 @@
 PORTNAME=      mpdecimal
-DISTVERSION=   4.0.0
+DISTVERSION=   4.0.1
 CATEGORIES=    math
 MASTER_SITES=  https://www.bytereef.org/software/mpdecimal/releases/

@@ -11,23 +11,13 @@
 LICENSE_FILE=  ${WRKSRC}/COPYRIGHT.txt

 USES=          compiler:c++11-lang gmake
-
-GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=       ${PREFIX}/share
 USE_LDCONFIG=  yes
+GNU_CONFIGURE= yes
 ALL_TARGET=    default
 TEST_TARGET=   check_local

-.include <bsd.port.pre.mk>
-
-.if ${CHOSEN_COMPILER_TYPE} == gcc
-CONFIGURE_ARGS=        LD="${CC}" LDXX="${CXX}"
-.endif
-
-CONFIGURE_ARGS+=       LDXXFLAGS="${LDFLAGS}"
-
 post-install:
        ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpdec.so.${DISTVERSION}
        ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpdec++.so.${DISTVERSION}

-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

-- 
You are receiving this mail because:
You are the assignee for the bug.