mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
math/mprime: Update to 30.19b13
PR: 278054 Reported by: maintainer
This commit is contained in:
parent
bb9ebd44f5
commit
87ef391da2
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 $<
|
9
math/mprime/files/pkg-message.in
Normal file
9
math/mprime/files/pkg-message.in
Normal file
@ -0,0 +1,9 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
|
||||
Notice:
|
||||
This port can not run then kern.elf64.allow_wx=0.
|
||||
EOM
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user