ports/124922: math/libgmp4: Update WWW and regression-test
Pedro F. Giffuni
pfgshield-freebsd at yahoo.com
Tue Jun 24 06:40:04 UTC 2008
>Number: 124922
>Category: ports
>Synopsis: math/libgmp4: Update WWW and regression-test
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 24 06:40:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Pedro F. Giffuni
>Release: 6.3-Release
>Organization:
>Environment:
%uname -a
FreeBSD kakumen.cable.net.co 6.3-RELEASE FreeBSD 6.3-RELEASE #10: Sat Jan 19 01:13:55 COT 2008 root at kakumen.cable.net.co:/usr/src/sys/amd64/compile/SMP amd64
>Description:
- The Website was outdated.
- Added a regression-test target (very important)
- No functional change
>How-To-Repeat:
This package is required for gcc4* so it is important to run the regression-test target. Furthermore the website emphasizes (twice):
"Never forget to do **make check** after building the library to make likely it was not miscompiled!"
>Fix:
diff -ruN libgmp4.orig/Makefile libgmp4/Makefile
--- libgmp4.orig/Makefile 2008-06-24 01:19:16.000000000 -0500
+++ libgmp4/Makefile 2008-06-24 01:22:15.000000000 -0500
@@ -27,4 +27,7 @@
post-extract:
@${RM} -f ${WRKSRC}/doc/gmp.info*
+regression-test: build
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
+
.include <bsd.port.mk>
diff -ruN libgmp4.orig/pkg-descr libgmp4/pkg-descr
--- libgmp4.orig/pkg-descr 2008-06-24 01:19:16.000000000 -0500
+++ libgmp4/pkg-descr 2008-06-24 01:24:45.000000000 -0500
@@ -16,7 +16,7 @@
operations, since GMP in many cases has asymptotically faster
algorithms.
-WWW: http://www.swox.com/gmp/
+WWW: http://gmplib.org/
- Alex Dupre
ale at FreeBSD.org
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list