Index: head/math/msieve/Makefile =================================================================== --- head/math/msieve/Makefile (revision 222617) +++ head/math/msieve/Makefile (revision 222618) @@ -1,70 +1,66 @@ # New ports collection makefile for: msieve # Date created: 2007-01-02 # Whom: Daniel Roethlisberger # # $FreeBSD$ # PORTNAME= msieve -PORTVERSION= 1.34 +PORTVERSION= 1.38 CATEGORIES= math MASTER_SITES= http://www.boo.net/~jasonp/ \ http://mirror.roe.ch/dist/msieve/ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//} MAINTAINER= daniel@roe.ch COMMENT= Fast factorization of big integers using MPQS and GNFS BUILD_DEPENDS= ${LOCALBASE}/lib/libecm.a:${PORTSDIR}/math/gmp-ecm WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_GMAKE= yes MAKE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \ PTHREAD_LIBS="${PTHREAD_LIBS}" \ ECM=1 PLIST_FILES= bin/msieve lib/libmsieve.a include/msieve/msieve.h \ include/msieve/mp.h include/msieve/util.h PLIST_DIRS= include/msieve PORTDOCS= Changes Readme Readme.nfs Readme.qs OPTIONS= OCFLAGS "Enable optimized CFLAGS" On .include .if !defined(WITHOUT_OCFLAGS) CFLAGS+= -O3 -ffast-math -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 .else CFLAGS+= -D_FILE_OFFSET_BITS=64 .endif -# Does not build with GCC 4.2 -.if ${OSVERSION} >= 700042 -USE_GCC= 3.4 -.if ${ARCH} == "sparc64" +.if ${OSVERSION} >= 700042 && ${ARCH} == "sparc64" BROKEN= Does not compile on sparc64-7 -.endif .endif ALL_TARGET= generic .if ${ARCH} == "i386" ALL_TARGET= x86 .endif .if ${ARCH} == "amd64" ALL_TARGET= x86_64 .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/msieve ${PREFIX}/bin ${MKDIR} ${PREFIX}/include/msieve ${INSTALL_DATA} ${WRKSRC}/include/msieve.h ${PREFIX}/include/msieve ${INSTALL_DATA} ${WRKSRC}/include/mp.h ${PREFIX}/include/msieve ${INSTALL_DATA} ${WRKSRC}/include/util.h ${PREFIX}/include/msieve ${INSTALL_DATA} ${WRKSRC}/libmsieve.a ${PREFIX}/lib .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif .include Property changes on: head/math/msieve/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.6 \ No newline at end of property +1.7 \ No newline at end of property Index: head/math/msieve/distinfo =================================================================== --- head/math/msieve/distinfo (revision 222617) +++ head/math/msieve/distinfo (revision 222618) @@ -1,3 +1,3 @@ -MD5 (msieve134.tar.gz) = 22ce5db1ddeb2c54978a074176eeee4f -SHA256 (msieve134.tar.gz) = 570c131d4d1131129b3a68e0e2426f779f4581b9db29d61d891a70df32efba5c -SIZE (msieve134.tar.gz) = 314962 +MD5 (msieve138.tar.gz) = e6d296466f01f0ae261219f8ee2d3277 +SHA256 (msieve138.tar.gz) = f3856abd5280b1d911569bba438b5ce8a4bfe215df71e85d495a27f77fb3aedb +SIZE (msieve138.tar.gz) = 305807 Property changes on: head/math/msieve/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/math/msieve/files/patch-Makefile =================================================================== --- head/math/msieve/files/patch-Makefile (revision 222617) +++ head/math/msieve/files/patch-Makefile (revision 222618) @@ -1,27 +1,27 @@ --- Makefile.orig 2008-03-23 05:32:08.000000000 +0100 +++ Makefile 2008-03-28 13:15:14.000000000 +0100 @@ -26,12 +26,12 @@ # gcc with basic optimization (-march flag could # get overridden by architecture-specific builds) -CC = gcc +#CC = gcc WARN_FLAGS = -Wall -W -Wconversion --OPT_FLAGS = -O3 -fomit-frame-pointer -march=athlon -D_FILE_OFFSET_BITS=64 -+#OPT_FLAGS = -O3 -fomit-frame-pointer -march=athlon -D_FILE_OFFSET_BITS=64 +-OPT_FLAGS = -O3 -fomit-frame-pointer -march=athlon-xp -D_FILE_OFFSET_BITS=64 ++#OPT_FLAGS = -O3 -fomit-frame-pointer -march=athlon-xp -D_FILE_OFFSET_BITS=64 #OPT_FLAGS = -O3 -fomit-frame-pointer -march=k8 -CFLAGS = $(OPT_FLAGS) $(MACHINE_FLAGS) $(WARN_FLAGS) -Iinclude -Ignfs/poly +CFLAGS += $(WARN_FLAGS) -Iinclude -Ignfs/poly $(CPPFLAGS) LIBS = -lm @@ -50,7 +50,7 @@ endif # Note to MinGW users: comment out the next line, you don't need it -LIBS += -lpthread +LIBS += $(PTHREAD_LIBS) #---------------------------------- Generic file lists ------------------- Property changes on: head/math/msieve/files/patch-Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/math/msieve/pkg-descr =================================================================== --- head/math/msieve/pkg-descr (revision 222617) +++ head/math/msieve/pkg-descr (revision 222618) @@ -1,11 +1,11 @@ Msieve is a library and utility for factoring large integers using the most powerful modern algorithms. It features a stable and very fast implementation of a self-initializing multiple polynomial quadratic sieve (MPQS), plus a -somewhat experimental general number field sieve (GNFS) code. +somewhat experimental general number field sieve (GNFS) implementation. Primary design goals are speed, portability and ease of use. Msieve claims to be the fastest implementation for factoring general inputs between 40 and 100 decimal digits, but can handle larger input as well. Author: Jason Papadopoulos WWW: http://www.boo.net/~jasonp/qs.html Property changes on: head/math/msieve/pkg-descr ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property