git: 87ef391da239 - main - math/mprime: Update to 30.19b13
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 31 Mar 2024 13:01:22 UTC
The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=87ef391da239e4f5dddd814b3b5affb6e00355c0 commit 87ef391da239e4f5dddd814b3b5affb6e00355c0 Author: Wen Heping <wen@FreeBSD.org> AuthorDate: 2024-03-31 12:59:34 +0000 Commit: Wen Heping <wen@FreeBSD.org> CommitDate: 2024-03-31 13:00:53 +0000 math/mprime: Update to 30.19b13 PR: 278054 Reported by: maintainer --- math/mprime/Makefile | 15 ++++++++++----- math/mprime/distinfo | 6 +++--- math/mprime/files/patch-gwnum_makemsys | 21 --------------------- math/mprime/files/pkg-message.in | 9 +++++++++ 4 files changed, 22 insertions(+), 29 deletions(-) diff --git a/math/mprime/Makefile b/math/mprime/Makefile index 47efe8aa95f4..8aaafed2ced2 100644 --- a/math/mprime/Makefile +++ b/math/mprime/Makefile @@ -1,9 +1,7 @@ PORTNAME= mprime -PORTVERSION= 30.7b9 -PORTREVISION= 1 +PORTVERSION= 30.19b13 CATEGORIES= math benchmarks net -MASTER_SITES= http://www.mersenne.org/ftp_root/gimps/ \ - ftp://mersenne.org/gimps/ +MASTER_SITES= https://www.mersenne.org/download/software/v${PORTVERSION:R}/${PORTVERSION:R}.19/ DISTNAME= p95v${PORTVERSION:R}${PORTVERSION:E}.source MAINTAINER= rozhuk.im@gmail.com @@ -23,6 +21,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ libgmp.so:math/gmp USES= localbase zip +PKGMESSAGE= ${WRKSRC}/pkg-message NO_WRKSUBDIR= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} @@ -31,7 +30,7 @@ MAKEFILE= makebsd ALL_TARGET= mprime LLD_UNSAFE= yes -SUB_FILES= wrapper.sh +SUB_FILES= pkg-message wrapper.sh PLIST_FILES+= bin/mprime bin/mprime-real @@ -45,6 +44,12 @@ WRKSRC_SUBDIR= linux post-patch: @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \ + -e "s|CC = .*||g" \ + -e "s|CXX = .*||g" \ + -e "s|CFLAGS = |CFLAGS += |g" \ + -e "s|CXXFLAGS = |CXXFLAGS += |g" \ + ${PATCH_WRKSRC}/gwnum/makebsd64 \ + ${PATCH_WRKSRC}/gwnum/makemsys \ ${PATCH_WRKSRC}/linux64/makebsd \ ${PATCH_WRKSRC}/linux/makebsd diff --git a/math/mprime/distinfo b/math/mprime/distinfo index b7cb84ef5375..915102738886 100644 --- a/math/mprime/distinfo +++ b/math/mprime/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1656319706 -SHA256 (p95v307b9.source.zip) = e89ce78b01eb3055f5503eabd9d0aec95e1e832361f3f2987098969fe649fdb5 -SIZE (p95v307b9.source.zip) = 50929924 +TIMESTAMP = 1711883789 +SHA256 (p95v3019b13.source.zip) = 032b3898fa0e347a07f9857aeb9b193331c52a1f60747e2af3f1898826d88f2f +SIZE (p95v3019b13.source.zip) = 40668313 diff --git a/math/mprime/files/patch-gwnum_makemsys b/math/mprime/files/patch-gwnum_makemsys deleted file mode 100644 index 813bc31b1981..000000000000 --- a/math/mprime/files/patch-gwnum_makemsys +++ /dev/null @@ -1,21 +0,0 @@ ---- gwnum/makemsys.orig 2019-04-23 03:05:20 UTC -+++ gwnum/makemsys -@@ -2,10 +2,10 @@ - # - - CC ?= cc --CFLAGS = -I.. -I../sqlite-amalgamation-3180000 -O2 -march=i486 -+CFLAGS += -I.. -I../sqlite-amalgamation-3180000 -O2 -march=i486 - - CXX ?= cc --CXXFLAGS = -I.. -I../qd -O2 -march=i486 -+CXXFLAGS += -I.. -I../qd -O2 -march=i486 - - AR ?= ar - -@@ -29,4 +29,4 @@ distclean: clean - $(CC) $(CFLAGS) -c $< - - .cpp.o: -- $(CPP) $(CPPFLAGS) -c $< -+ $(CXX) $(CXXFLAGS) -c $< diff --git a/math/mprime/files/pkg-message.in b/math/mprime/files/pkg-message.in new file mode 100644 index 000000000000..6fb77481856d --- /dev/null +++ b/math/mprime/files/pkg-message.in @@ -0,0 +1,9 @@ +[ +{ type: install + message: <<EOM + +Notice: + This port can not run then kern.elf64.allow_wx=0. +EOM +} +]