FreeBSD Bugzilla – Attachment 182768 Details for
Bug 219432
math/mprime: Update to 28.10 (and take MAINTAINER'ship)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mprime update to 28.10
mprime.patch (text/plain), 4.90 KB, created by
Ivan Rozhuk
on 2017-05-21 01:14:00 UTC
(
hide
)
Description:
mprime update to 28.10
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2017-05-21 01:14:00 UTC
Size:
4.90 KB
patch
obsolete
>Index: math/mprime/Makefile >=================================================================== >--- math/mprime/Makefile (revision 441328) >+++ math/mprime/Makefile (working copy) >@@ -1,31 +1,45 @@ >-# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> >+# Created by: Rozhuk Ivan <rozhuk.im@gmail.com> > # $FreeBSD$ > >-PORTNAME= mprime >-PORTVERSION= 26.6 >-CATEGORIES= math benchmarks net >-MASTER_SITES= http://www.mersenne.org/ftp_root/gimps/ >-DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}-${OPSYS} >+PORTNAME= mprime >+PORTVERSION= 28.10 >+CATEGORIES= math benchmarks net >+MASTER_SITES= http://www.mersenne.org/ftp_root/gimps/ \ >+ ftp://mersenne.org/gimps/ >+DISTNAME= p95v${PORTVERSION:R}${PORTVERSION:E}.source > >-MAINTAINER= ports@FreeBSD.org >-COMMENT= mersenne.org distributed Great Internet Mersenne Prime Search >+MAINTAINER= rozhuk.im@gmail.com >+COMMENT= mersenne.org distributed Great Internet Mersenne Prime Search > >-LIB_DEPENDS= libcrypto.so.6:misc/compat9x >+LIB_DEPENDS= libcurl.so:ftp/curl > >-ONLY_FOR_ARCHS= i386 >-NO_BUILD= yes >-NO_WRKSUBDIR= yes >+ONLY_FOR_ARCHS= amd64 i386 >+USES= zip >+USE_LDCONFIG= yes >+NO_WRKSUBDIR= yes >+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} >+ALL_TARGET= mprime > >-SUB_FILES= pkg-message wrapper.sh >+SUB_FILES= wrapper.sh > >-OPTIONS_DEFINE= DOCS >+PLIST_FILES+=\ >+ bin/mprime \ >+ bin/mprime-real > >+post-patch: >+ @${REINPLACE_CMD} -e 's| abs (| labs (|g ; \ >+ s|(abs (|(labs (|g ; \ >+ s| abs(| labs(|g ; \ >+ s|(abs(|(labs(|g' \ >+ ${WRKSRC}/../gwnum/gwnum.c \ >+ ${WRKSRC}/../commonc.c \ >+ ${WRKSRC}/../ecm.c \ >+ ${WRKSRC}/../gwtest.c >+ @${REINPLACE_CMD} -e 's|__APPLE__|__FreeBSD__|g' \ >+ ${WRKSRC}/../gwnum/gwutil.c >+ > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/mprime ${STAGEDIR}${PREFIX}/bin/mprime-real > ${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${STAGEDIR}${PREFIX}/bin/mprime > >-do-install-DOCS-on: >- @${MKDIR} ${STAGEDIR}${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR} >- > .include <bsd.port.mk> >Index: math/mprime/Makefile.amd64 >=================================================================== >--- math/mprime/Makefile.amd64 (nonexistent) >+++ math/mprime/Makefile.amd64 (working copy) >@@ -0,0 +1,18 @@ >+# Created by: Rozhuk Ivan <rozhuk.im@gmail.com> >+# $FreeBSD$ >+ >+WRKSRC_SUBDIR= linux64 >+ >+post-extract: >+ @${RM} ${WRKSRC}/makefile >+ @${MV} ${WRKSRC}/makebsd ${WRKSRC}/Makefile >+ >+pre-build: >+ @${REINPLACE_CMD} -e 's|-ldl||g ; \ >+ s|-lstdc++||g ; \ >+ s|gcc|${CC}|g ; \ >+ s|cc|${CC}| ; \ >+ s|-malign-double||' \ >+ ${WRKSRC}/Makefile >+ @(cd ${WRKSRC}/../gwnum/ && ${MAKE} -f makebsd64) >+ >Index: math/mprime/Makefile.i386 >=================================================================== >--- math/mprime/Makefile.i386 (nonexistent) >+++ math/mprime/Makefile.i386 (working copy) >@@ -0,0 +1,27 @@ >+# Created by: Rozhuk Ivan <rozhuk.im@gmail.com> >+# $FreeBSD$ >+ >+WRKSRC_SUBDIR= linux >+ >+post-extract: >+ @${RM} ${WRKSRC}/makefile >+ @${MV} ${WRKSRC}/makebsd ${WRKSRC}/Makefile >+ >+pre-build: >+ @${REINPLACE_CMD} -e 's|-ldl||g ; \ >+ s|-lstdc++||g ; \ >+ s|gcc|${CC}|g ; \ >+ s|cc|${CC}| ; \ >+ s|-lz|| ; \ >+ s|LFLAGS = -Wl,-M|LFLAGS = -L/usr/local/lib -Wl,-M| ; \ >+ s|-Bstatic /usr/local/lib/libcurl.a|-lcurl| ; \ >+ s|-Bdynamic -lssl|| ; \ >+ s|-malign-double||' \ >+ ${WRKSRC}/Makefile >+ @${REINPLACE_CMD} -e 's|gcc|${CC}|g ; \ >+ s|g++|${CC}| ; \ >+ s|cc|${CC}| ; \ >+ s|-malign-double||' \ >+ ${WRKSRC}/../gwnum/makemsys >+ @(cd ${WRKSRC}/../gwnum/ && ${MAKE} -f makemsys) >+ >Index: math/mprime/distinfo >=================================================================== >--- math/mprime/distinfo (revision 441328) >+++ math/mprime/distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1302303090 >-SHA256 (mprime266-FreeBSD.tar.gz) = d4c2c044cfa45311dd7f2c41574f59a0519c989fd6e0ca723505dea12b2ff1fd >-SIZE (mprime266-FreeBSD.tar.gz) = 4233056 >+TIMESTAMP = 1495315765 >+SHA256 (p95v2810.source.zip) = fdde4652ea12a66487245fbef7980237b2707c595f613cac013e97a489301060 >+SIZE (p95v2810.source.zip) = 44979437 >Index: math/mprime/files/pkg-message.in >=================================================================== >--- math/mprime/files/pkg-message.in (revision 441328) >+++ math/mprime/files/pkg-message.in (nonexistent) >@@ -1,10 +0,0 @@ >- ATTENTIONATTENTION: >- >-Please, make sure that you read >-%%DOCSDIR%%/license.txt >-and agree to the licensing terms before running this application. >- >-Furthermore, read >-%%DOCSDIR%%/readme.txt >-It contains important information about both configuring and running >-mprime. You will have problems running it if you do not read it. >Index: math/mprime/pkg-plist >=================================================================== >--- math/mprime/pkg-plist (revision 441328) >+++ math/mprime/pkg-plist (nonexistent) >@@ -1,7 +0,0 @@ >-bin/mprime >-bin/mprime-real >-%%PORTDOCS%%%%DOCSDIR%%/license.txt >-%%PORTDOCS%%%%DOCSDIR%%/readme.txt >-%%PORTDOCS%%%%DOCSDIR%%/stress.txt >-%%PORTDOCS%%%%DOCSDIR%%/undoc.txt >-%%PORTDOCS%%%%DOCSDIR%%/whatsnew.txt
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 219432
:
182768
|
183609