Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 2008 04:23:15 GMT
From:      "Pedro F. Giffuni" <pfgshield-freebsd@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/124920: math/laspack: update WWW and cleanups
Message-ID:  <200806240423.m5O4NFu7035769@www.freebsd.org>
Resent-Message-ID: <200806240430.m5O4U2Np052238@freefall.freebsd.org>

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

>Number:         124920
>Category:       ports
>Synopsis:       math/laspack: update WWW and cleanups
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 24 04:30:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Release:        6.3-Release
>Organization:
>Environment:
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 for this package has changed so I updated the WWW link.
I also somewhat cleaned up the build and added a regression-test target.
Unfortunately this package fails the check so I hid the regression test under MAINTAINER_MODE
No functional change. 
>How-To-Repeat:

>Fix:
diff -ruN laspack.orig/Makefile laspack/Makefile
--- laspack.orig/Makefile	2008-06-23 22:08:53.000000000 -0500
+++ laspack/Makefile	2008-06-23 22:57:18.000000000 -0500
@@ -19,6 +19,7 @@
 
 WRKSRC=	${WRKDIR}/${PORTNAME}
 MAKEFILE=	makefile
+MAKE_ENV+=	HOME=${PREFIX}
 
 post-patch:
 	@${REINPLACE_CMD} -e 's+/usr/local+${LOCALBASE}+g' ${WRKSRC}/${MAKEFILE}
@@ -29,4 +30,10 @@
 	@${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${DOCSDIR}
 .endif
 
+.ifdef MAINTAINER_MODE
+regression-test:
+	@cd ${WRKDIR} && ${SETENV} HOME=${WRKDIR} ./install
+	@cd ${WRKSRC}/check && ${SETENV} HOME=${WRKDIR} ./check
+.endif
+
 .include <bsd.port.mk>
diff -ruN laspack.orig/files/patch-makefile laspack/files/patch-makefile
--- laspack.orig/files/patch-makefile	2008-06-23 22:08:53.000000000 -0500
+++ laspack/files/patch-makefile	1969-12-31 19:00:00.000000000 -0500
@@ -1,13 +0,0 @@
---- makefile.orig	Mon Jul 25 00:24:08 2005
-+++ makefile	Mon Jul 25 00:24:30 2005
-@@ -21,8 +21,8 @@
- #
- # set the destination directories for the library and include files
- #
--LIBDEST		= $(HOME)/lib$(ARCH_EXT)
--INCDEST		= $(HOME)/include
-+LIBDEST		= $(PREFIX)/lib
-+INCDEST		= $(PREFIX)/include
- 
- #
- # the following text was created automaticaly. You should change it carefully.
diff -ruN laspack.orig/pkg-descr laspack/pkg-descr
--- laspack.orig/pkg-descr	2008-06-23 22:08:53.000000000 -0500
+++ laspack/pkg-descr	2008-06-23 22:10:12.000000000 -0500
@@ -18,6 +18,6 @@
     preconditioned by multigrid and BPX preconditioners.
 
 A complete description of the package (including the installation procedure)
-you may find in LASPack Reference Manual in the following postscript files:
+you may find in LASPack Reference Manual:
     
-WWW: http://www.tu-dresden.de/mwism/skalicky/laspack/laspack.html
+WWW: http://www.mgnet.org/mgnet/Codes/laspack/html/laspack.html


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



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