1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Update to 1.48

Approved by:	makc, miwi (mentors, implicit)
Feature safe:	yes
This commit is contained in:
Brendan Fabeny 2011-02-07 07:41:28 +00:00
parent 768e7ec674
commit 067f883824
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=268737
3 changed files with 12 additions and 9 deletions

View File

@ -6,7 +6,7 @@
# #
PORTNAME= msieve PORTNAME= msieve
PORTVERSION= 1.46 PORTVERSION= 1.48
CATEGORIES= math CATEGORIES= math
MASTER_SITES= SF MASTER_SITES= SF
MASTER_SITE_SUBDIR= \ MASTER_SITE_SUBDIR= \
@ -20,7 +20,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libecm.a:${PORTSDIR}/math/gmp-ecm
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GMAKE= yes USE_GMAKE= yes
CFLAGS+= -D_FILE_OFFSET_BITS=64 -I${LOCALBASE}/include CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= LDFLAGS="${LDFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}" ECM=1 MAKE_ENV= LDFLAGS="${LDFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}" ECM=1
@ -61,4 +61,7 @@ do-install:
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif .endif
regression-test test check: build
@( cd ${WRKSRC} ; ./msieve -q -d 1 2385734365243128176756453434347656453122245767798 )
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View File

@ -1,3 +1,2 @@
MD5 (msieve146.tar.gz) = d54ef004aedeef9ee4994a44137f9b43 SHA256 (msieve148.tar.gz) = c3c0b36d230a797de84b3da18e073a328c8ae2d28308d5b0d67c6977eb109515
SHA256 (msieve146.tar.gz) = 227295fd2f87658b48fe10bbc30bc86c985c871a95c38b12892acd40db86d026 SIZE (msieve148.tar.gz) = 369047
SIZE (msieve146.tar.gz) = 409970

View File

@ -1,5 +1,5 @@
--- Makefile.orig 2010-08-28 03:28:32.000000000 -0400 --- Makefile.orig 2011-02-06 19:12:31.000000000 -0500
+++ Makefile 2010-08-28 03:39:28.000000000 -0400 +++ Makefile 2011-02-06 19:12:39.000000000 -0500
@@ -14,12 +14,12 @@ @@ -14,12 +14,12 @@
# gcc with basic optimization (-march flag could # gcc with basic optimization (-march flag could
@ -8,15 +8,16 @@
+#CC = gcc -D_FILE_OFFSET_BITS=64 +#CC = gcc -D_FILE_OFFSET_BITS=64
WARN_FLAGS = -Wall -W WARN_FLAGS = -Wall -W
-OPT_FLAGS = -O3 -fomit-frame-pointer -march=athlon-xp -DNDEBUG -OPT_FLAGS = -O3 -fomit-frame-pointer -march=athlon-xp -DNDEBUG
-OPT_FLAGS = -O3 -fomit-frame-pointer -march=k8 -DNDEBUG -D_LARGEFILE64_SOURCE
+#OPT_FLAGS = -O3 -fomit-frame-pointer -march=athlon-xp -DNDEBUG +#OPT_FLAGS = -O3 -fomit-frame-pointer -march=athlon-xp -DNDEBUG
#OPT_FLAGS = -O3 -fomit-frame-pointer -march=k8 -DNDEBUG +#OPT_FLAGS = -O3 -fomit-frame-pointer -march=k8 -DNDEBUG -D_LARGEFILE64_SOURCE
-CFLAGS = $(OPT_FLAGS) $(MACHINE_FLAGS) $(WARN_FLAGS) \ -CFLAGS = $(OPT_FLAGS) $(MACHINE_FLAGS) $(WARN_FLAGS) \
+CFLAGS += $(OPT_FLAGS) $(MACHINE_FLAGS) $(WARN_FLAGS) \ +CFLAGS += $(OPT_FLAGS) $(MACHINE_FLAGS) $(WARN_FLAGS) \
-I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1 -I. -Iinclude -Ignfs -Ignfs/poly -Ignfs/poly/stage1
# tweak the compile flags # tweak the compile flags
@@ -60,7 +60,7 @@ @@ -61,7 +61,7 @@
# win32 or win64, so it's safe to pull libpthread into the link line. # win32 or win64, so it's safe to pull libpthread into the link line.
# Of course this does mean you have to install the minGW pthreads bundle... # Of course this does mean you have to install the minGW pthreads bundle...