Update devel/mpfr to 2.4.1, patch level 5. This has been sitting in a forgotten corner of my disk since c2k9. Please run the regression test suite on additional architectures. I have already covered:
amd64 all passed alpha tconst_log2 fails (also in 2.3.1) i386 all passed sparc64 all passed For failures, please report which tests fail and if this also happens with the in-tree version. Index: Makefile =================================================================== RCS file: /cvs/ports/devel/mpfr/Makefile,v retrieving revision 1.5 diff -u -p -r1.5 Makefile --- Makefile 27 Oct 2008 20:45:54 -0000 1.5 +++ Makefile 13 Oct 2009 17:49:56 -0000 @@ -2,14 +2,15 @@ COMMENT= library for multiple-precision floating-point computations -DISTNAME= mpfr-2.3.2 -SHARED_LIBS += mpfr 0.2 # .2.2 +DISTNAME= mpfr-2.4.1 +PKGNAME= ${DISTNAME}.5 +SHARED_LIBS += mpfr 1.0 # .3.0 CATEGORIES= devel math HOMEPAGE= http://www.mpfr.org/ MAINTAINER= Christian Weisgerber <na...@openbsd.org> -# (L)GPL +# LGPLv2.1+ PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes @@ -17,6 +18,10 @@ PERMIT_DISTFILES_FTP= Yes MASTER_SITES= ${HOMEPAGE}${DISTNAME}/ DIST_SUBDIR= ${DISTNAME} +.for i in 01 02 03 04 05 +PATCHFILES+= patch$i +.endfor +PATCH_DIST_STRIP=-p1 # no interlibrary dependency, though LIB_DEPENDS= gmp:gmp->=4.2.0:devel/gmp @@ -26,7 +31,6 @@ USE_LIBTOOL= Yes CONFIGURE_STYLE=gnu CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ --with-gmp=${LOCALBASE} -REORDER_DEPENDENCIES=${PORTSDIR}/infrastructure/mk/automake.dep # make sure we do not pick up an installed version of libmpfr REGRESS_FLAGS= LIBTOOL="${LIBTOOL} ${LIBTOOL_FLAGS}" ${_lt_libs} \ @@ -35,10 +39,10 @@ REGRESS_FLAGS= LIBTOOL="${LIBTOOL} ${LIB # needed on sparc64 at least: the mpfr tests are insufficient without # gmp's internals -BUILD_DEPENDS= :gmp->=4.2.0:devel/gmp:configure -pre-configure: - ln -s ${WRKDIR}/devel/gmp/gmp-* ${WRKDIR}/gmp - cd ${WRKDIR}/gmp && ${MAKE} fib_table.h mp_bases.h -CONFIGURE_ARGS+=--with-gmp-build=${WRKDIR}/gmp +#BUILD_DEPENDS= :gmp->=4.2.0:devel/gmp:configure +#pre-configure: +# ln -s ${WRKDIR}/devel/gmp/gmp-* ${WRKDIR}/gmp +# cd ${WRKDIR}/gmp && ${MAKE} fib_table.h mp_bases.h +#CONFIGURE_ARGS+=--with-gmp-build=${WRKDIR}/gmp .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /cvs/ports/devel/mpfr/distinfo,v retrieving revision 1.4 diff -u -p -r1.4 distinfo --- distinfo 27 Oct 2008 20:45:54 -0000 1.4 +++ distinfo 13 Oct 2009 17:49:56 -0000 @@ -1,5 +1,30 @@ -MD5 (mpfr-2.3.2/mpfr-2.3.2.tar.gz) = NVnRcTuXuu9T8kHDdL4pGg== -RMD160 (mpfr-2.3.2/mpfr-2.3.2.tar.gz) = qPbB/KItv2pGwzcnOBRh6dNEf3c= -SHA1 (mpfr-2.3.2/mpfr-2.3.2.tar.gz) = i6NIQU9qeNw9e9loPSOgqSX371I= -SHA256 (mpfr-2.3.2/mpfr-2.3.2.tar.gz) = TcH3KD2wvYZ75sULgqwKEB+pmySTBLF68NotS0BAkkM= -SIZE (mpfr-2.3.2/mpfr-2.3.2.tar.gz) = 1262090 +MD5 (mpfr-2.4.1/mpfr-2.4.1.tar.gz) = pwu94qI9gujzMU1Ck1AK5A== +MD5 (mpfr-2.4.1/patch01) = EG83hV4cSl5U2lYT5J46OA== +MD5 (mpfr-2.4.1/patch02) = pEC82ILYho6bR6AIL4h3og== +MD5 (mpfr-2.4.1/patch03) = OUrJkzCNa/0OiM5LeeDi4A== +MD5 (mpfr-2.4.1/patch04) = WyLdOJ9XJFlDmGhrXbBy6w== +MD5 (mpfr-2.4.1/patch05) = ixZjHdgKoLZKDwrdStIwJQ== +RMD160 (mpfr-2.4.1/mpfr-2.4.1.tar.gz) = xy2xz4l2oHrEufX6AKUiHJY/BLQ= +RMD160 (mpfr-2.4.1/patch01) = popl47qQ+ruNY01psXKjIWJIhmE= +RMD160 (mpfr-2.4.1/patch02) = 0f8mjK5NBlnYBdfiK8XI4kXIZYc= +RMD160 (mpfr-2.4.1/patch03) = l7PMO3Ya3fgSQgQz1li6QA4PjUs= +RMD160 (mpfr-2.4.1/patch04) = IJrNQIF3S05j1YcA3INV5mI4rI0= +RMD160 (mpfr-2.4.1/patch05) = FJPkYDOUTcFeI7VaSVZZ0H1Qd6U= +SHA1 (mpfr-2.4.1/mpfr-2.4.1.tar.gz) = 6cRtuL+/ubzW1iOio7GqT9wLQ6s= +SHA1 (mpfr-2.4.1/patch01) = gutMNGhbbWVdM+DfzqADJIqJZ9k= +SHA1 (mpfr-2.4.1/patch02) = Sa6bfSPVuhATaHqZ0orCwdZ0r1U= +SHA1 (mpfr-2.4.1/patch03) = KCBmsBBOxBkxEmrLV+bvYUDcrL0= +SHA1 (mpfr-2.4.1/patch04) = oy4gApNR6zTO6UHSJWYERpOpG5M= +SHA1 (mpfr-2.4.1/patch05) = rsUYppt10RaZ2va5hKLGiHY4tus= +SHA256 (mpfr-2.4.1/mpfr-2.4.1.tar.gz) = 2kBBumfIHcbczbXrGZDYAvn6FsBXPZcj7X+Luc2sTx8= +SHA256 (mpfr-2.4.1/patch01) = ar2MWrrBJAQfwFCPvP2wT1ZND3gRgjXXDt2B2qO2Fp0= +SHA256 (mpfr-2.4.1/patch02) = n8k5BS+eUBwFFYb7GPeAEmJ0ikbBdHaIEwfsYQDmTt0= +SHA256 (mpfr-2.4.1/patch03) = tKknbylTYcS20++JZUjp05ywMEFG9Awp7ZfMlTWewrU= +SHA256 (mpfr-2.4.1/patch04) = xxUtIUAG+h2p3Jh6sHRoxJPBzzr8FMIvCik/FOdFwO4= +SHA256 (mpfr-2.4.1/patch05) = LvEDDj1AY28p7CX+6sh9CBPKc6uUTIeDfajWVvy+kHA= +SIZE (mpfr-2.4.1/mpfr-2.4.1.tar.gz) = 1375528 +SIZE (mpfr-2.4.1/patch01) = 3512 +SIZE (mpfr-2.4.1/patch02) = 1585 +SIZE (mpfr-2.4.1/patch03) = 1271 +SIZE (mpfr-2.4.1/patch04) = 1804 +SIZE (mpfr-2.4.1/patch05) = 1872 Index: patches/patch-Makefile_in =================================================================== RCS file: /cvs/ports/devel/mpfr/patches/patch-Makefile_in,v retrieving revision 1.3 diff -u -p -r1.3 patch-Makefile_in --- patches/patch-Makefile_in 27 Oct 2008 20:45:54 -0000 1.3 +++ patches/patch-Makefile_in 13 Oct 2009 17:49:56 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-Makefile_in,v 1.3 2008/10/27 20:45:54 naddy Exp $ ---- Makefile.in.orig Fri Sep 12 15:48:04 2008 -+++ Makefile.in Mon Oct 27 11:58:15 2008 -@@ -409,7 +409,7 @@ clean-libLTLIBRARIES: +--- Makefile.in.orig Wed Feb 25 17:18:06 2009 ++++ Makefile.in Tue Jun 2 01:19:37 2009 +@@ -424,7 +424,7 @@ clean-libLTLIBRARIES: rm -f "$${dir}/so_locations"; \ done libmpfr.la: $(libmpfr_la_OBJECTS) $(libmpfr_la_DEPENDENCIES) -- Christian "naddy" Weisgerber na...@uugrn.org