Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2008 06:33:41 GMT
From:      "Pedro F. Giffuni" <pfgshield-freebsd@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/124922: math/libgmp4: Update WWW and regression-test
Message-ID:  <200806240633.m5O6Xfve097646@www.freebsd.org>
Resent-Message-ID: <200806240640.m5O6e4KX082142@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@FreeBSD.org


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806240633.m5O6Xfve097646>