Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jan 2006 02:48:02 GMT
From:      "Pedro F. Giffuni" <giffunip@asme.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/91251: Make math/arpack depend less on math/atlas
Message-ID:  <200601030248.k032m222048785@www.freebsd.org>
Resent-Message-ID: <200601030250.k032o44C092358@freefall.freebsd.org>

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

>Number:         91251
>Category:       ports
>Synopsis:       Make math/arpack depend less on math/atlas
>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 Jan 03 02:50:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Release:        6.0-release
>Organization:
>Environment:
FreeBSD etoile.cable.net.co 6.0-RELEASE FreeBSD 6.0-RELEASE #4: Sun Jan  1 14:47:14 COT 2006     root@etoile.cable.net.co:/usr/src/sys/amd64/compile/DIMENSION  amd64       
>Description:
              
Atlas is great in the platforms where it's available, however it is not being packaged (for good reasons) anymore. arpack originally used blas for testing and since we are not really linking any version of blas in the package it doesn't make any difference what we use. It seems better idea to use blas for testing since it's faster to build and because this also means we can package arpack without building ATLAS, The resulting package will work with BLAs or ATLAS just the same and in any case the BLAS_LIBS variable can now be overridden to test with atlas if it's so desired.

This change doesn't change the package so I think we should leave the PORTVERSION untouched.
>How-To-Repeat:
              ARPACK was not being packaged for amd64. I will work with the Atlas maintainer to see how we fix the current atals issues.
>Fix:
              
diff -ruN arpack.orig/Makefile arpack/Makefile
--- arpack.orig/Makefile	Sun Dec 18 17:07:49 2005
+++ arpack/Makefile	Sun Dec 18 17:11:19 2005
@@ -22,12 +22,12 @@
 COMMENT=	Argand Library: large eigenvalue subroutines (serial version)
 
 BUILD_DEPENDS=	${LOCALBASE}/bin/f2c:${PORTSDIR}/lang/f2c \
-		${LOCALBASE}/lib/libf77blas.a:${PORTSDIR}/math/atlas
+		${LOCALBASE}/lib/libblas.a:${PORTSDIR}/math/blas
 
 WRKSRC=		${WRKDIR}/ARPACK
 ALL_TARGET=	lib
 
-BLAS_LIBS=	${LOCALBASE}/lib/libf77blas.a ${LOCALBASE}/lib/libatlas.a
+BLAS_LIBS?=	${LOCALBASE}/lib/libblas.a
 
 INSTALLS_SHLIB=	yes
 USE_REINPLACE=	yes

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



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