Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2024 09:07:06 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e1e35b6cb7dd - main - math/mprime: update to 30.19b21
Message-ID:  <202412100907.4BA976MP002000@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

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

commit e1e35b6cb7dd95e9bb1f199370341f6349c60a44
Author:     takefu <takefu@airport.fm>
AuthorDate: 2024-12-09 14:13:45 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-12-10 09:05:40 +0000

    math/mprime: update to 30.19b21
    
    PR:             283070
    Approved by:    rozhuk.im@gmail.com (maintainer)
---
 math/mprime/Makefile | 30 ++++++++++--------------------
 math/mprime/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 23 deletions(-)

diff --git a/math/mprime/Makefile b/math/mprime/Makefile
index e61978331ce8..e55ee6fc6690 100644
--- a/math/mprime/Makefile
+++ b/math/mprime/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	mprime
-PORTVERSION=	30.19b14
+PORTVERSION=	30.19b21
 CATEGORIES=	math benchmarks net
 MASTER_SITES=	https://www.mersenne.org/download/software/v${PORTVERSION:R}/${PORTVERSION:R}.19/
 DISTNAME=	p95v${PORTVERSION:R}${PORTVERSION:E}.source
@@ -13,12 +13,12 @@ LICENSE_NAME=	EULA
 LICENSE_FILE=	${FILESDIR}/LICENSE
 LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
 
-BROKEN_i386=    /gwnum/polymult.a missed in /linux/makebsd
-ONLY_FOR_ARCHS=	amd64 i386
+BROKEN_i386=	compilation fails: /gwnum/polymult.a missed in /linux/makebsd
+ONLY_FOR_ARCHS=	amd64
 
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/circular_buffer.hpp:devel/boost-libs
-LIB_DEPENDS=	libcurl.so:ftp/curl					\
-		libhwloc.so.15:devel/hwloc2				\
+LIB_DEPENDS=	libcurl.so:ftp/curl \
+		libhwloc.so:devel/hwloc2 \
 		libgmp.so:math/gmp
 
 USES=		localbase zip
@@ -31,18 +31,10 @@ SUB_FILES=	pkg-message wrapper.sh
 NO_WRKSUBDIR=	yes
 PATCH_WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
+WRKSRC_SUBDIR=	${ARCH:S,i386,linux,:S,amd64,linux64,}
 PKGMESSAGE=	${WRKSRC}/pkg-message
 PLIST_FILES+=	bin/mprime bin/mprime-real
 
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "amd64"
-WRKSRC_SUBDIR=	linux64
-.else
-WRKSRC_SUBDIR=	linux
-.endif
-
 post-patch:
 	@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
 		-e "s|CC = .*||g" \
@@ -56,14 +48,12 @@ post-patch:
 		${PATCH_WRKSRC}/linux/makebsd
 
 pre-build:
-.if ${ARCH} == "amd64"
-	@${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${PATCH_WRKSRC}/gwnum ${MAKE_FLAGS} makebsd64 ${_MAKE_JOBS} ${MAKE_ARGS:C,^${DESTDIRNAME}=.*,,g}
-.elif ${ARCH} == "i386"
-	@${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${PATCH_WRKSRC}/gwnum ${MAKE_FLAGS} makemsys ${_MAKE_JOBS} ${MAKE_ARGS:C,^${DESTDIRNAME}=.*,,g}
-.endif
+	@${SETENV} ${MAKE_ENV} ${MAKE_CMD} -C ${PATCH_WRKSRC}/gwnum \
+		${MAKE_FLAGS} ${ARCH:S,i386,makemsys,:S,amd64,makebsd64,} \
+		${_MAKE_JOBS} ${MAKE_ARGS:C,^${DESTDIRNAME}=.*,,g}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/mprime ${STAGEDIR}${PREFIX}/bin/mprime-real
 	${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/bin/mprime
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/math/mprime/distinfo b/math/mprime/distinfo
index e924f8cc8577..63b63fc78adf 100644
--- a/math/mprime/distinfo
+++ b/math/mprime/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1714771984
-SHA256 (p95v3019b14.source.zip) = 49fd8e44d8755a4c05915085b0b15c3589f232cfd539028bbab2c01ffc8ad548
-SIZE (p95v3019b14.source.zip) = 40668660
+TIMESTAMP = 1732753270
+SHA256 (p95v3019b21.source.zip) = bdc843a547a6f91dc67004a3efbcd99858af7db075ecd77b7188b23e5ac2ce2a
+SIZE (p95v3019b21.source.zip) = 39550852



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412100907.4BA976MP002000>