ports/153207: fix failure building
Tz-Huan Huang
tzhuan at gmail.com
Thu Dec 16 10:20:14 UTC 2010
>Number: 153207
>Category: ports
>Synopsis: fix failure building
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Dec 16 10:20:13 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Tz-Huan Huang
>Release: 9.0-CURRENT
>Organization:
National Taiwan University
>Environment:
FreeBSD tzhuan.csie.org 9.0-CURRENT FreeBSD 9.0-CURRENT #7 r215640M: Mon Nov 22 04:52:58 CST 2010 root at tzhuan.csie.org:/usr/obj/usr/src/sys/TZHUAN amd64
>Description:
libtsnnls cannot be linked with blas/lapack, so the gotoblas is set to default now.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -urN libtsnnls.orig/Makefile libtsnnls/Makefile
--- libtsnnls.orig/Makefile 2010-12-16 17:57:00.245991837 +0800
+++ libtsnnls/Makefile 2010-12-16 17:59:29.895999589 +0800
@@ -17,16 +17,14 @@
USE_FORTRAN= yes
USE_LDCONFIG= yes
-OPTIONS= GOTOBLAS "Use gotoblas (conflict with USE_ATLAS)" off \
- ATLAS "Use atlas (conflict with USE_GOTOBLAS)" off
+OPTIONS= ATLAS "Use atlas (default is gotoblas)" off
+# GOTOBLAS "Use gotoblas (conflict with USE_ATLAS)" off \
+# ATLAS "Use atlas (conflict with USE_GOTOBLAS)" off
# DMALLOC "Use dmalloc" off
.include <bsd.port.options.mk>
-WITH_BLAS?=reference
-.if defined(WITH_GOTOBLAS)
-WITH_BLAS=gotoblas
-.endif
+WITH_BLAS?=gotoblas
.if defined(WITH_ATLAS)
WITH_BLAS=atlas
.endif
@@ -37,12 +35,7 @@
#LIB_DEPENDS+=dmalloc.1:${PORTSDIR}/devel/dmalloc
#.endif
-.if ${WITH_BLAS} == reference
-LIB_DEPENDS+=blas.2:${PORTSDIR}/math/blas
-LIB_DEPENDS+=lapack.4:${PORTSDIR}/math/lapack
-BLAS=-lblas
-LAPACK=-llapack
-.elif ${WITH_BLAS} == gotoblas
+.if ${WITH_BLAS} == gotoblas
LIB_DEPENDS+=goto2:${PORTSDIR}/math/gotoblas
BLAS=-lgoto2p
LAPACK=-lgoto2p
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list